1 # coding: utf-8
2 # Automatically generated code.
3 # Do not edit manually.
4 # Generated by running: __main__pydevd_gen_debug_adapter_protocol.py
-
E501
Line too long (105 > 79 characters)
5 from .pydevd_base_schema import BaseSchema, register, register_request, register_response, register_event
6
7
8 @register
9 class ProtocolMessage(BaseSchema):
10 """
11 Base class of requests, responses, and events.
12
13 Note: automatically generated code. Do not edit manually.
14 """
15
16 __props__ = {
17 "seq": {
18 "type": "integer",
-
E501
Line too long (155 > 79 characters)
19 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
20 },
21 "type": {
22 "type": "string",
23 "description": "Message type.",
24 "_enum": [
25 "request",
26 "response",
27 "event"
28 ]
29 }
30 }
31 __refs__ = set()
32
33 __slots__ = list(__props__.keys()) + ['kwargs']
34
35 def __init__(self, type, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
36 """
37 :param string type: Message type.
-
E501
Line too long (154 > 79 characters)
38 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
39 """
40 self.type = type
41 self.seq = seq
42 self.kwargs = kwargs
43
44
45 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
46 type = self.type # noqa (assign to builtin)
47 seq = self.seq
48 dct = {
49 'type': type,
50 'seq': seq,
51 }
52 dct.update(self.kwargs)
53 return dct
54
55
56 @register
57 class Request(BaseSchema):
58 """
59 A client or debug adapter initiated request.
60
61 Note: automatically generated code. Do not edit manually.
62 """
63
64 __props__ = {
65 "seq": {
66 "type": "integer",
-
E501
Line too long (155 > 79 characters)
67 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
68 },
69 "type": {
70 "type": "string",
71 "enum": [
72 "request"
73 ]
74 },
75 "command": {
76 "type": "string",
77 "description": "The command to execute."
78 },
79 "arguments": {
80 "type": [
81 "array",
82 "boolean",
83 "integer",
84 "null",
85 "number",
86 "object",
87 "string"
88 ],
89 "description": "Object containing arguments for the command."
90 }
91 }
92 __refs__ = set()
93
94 __slots__ = list(__props__.keys()) + ['kwargs']
95
96 def __init__(self, command, seq=-1, arguments=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
97 """
99 :param string command: The command to execute.
-
E501
Line too long (154 > 79 characters)
100 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (140 > 79 characters)
101 :param ['array', 'boolean', 'integer', 'null', 'number', 'object', 'string'] arguments: Object containing arguments for the command.
102 """
103 self.type = 'request'
104 self.command = command
105 self.seq = seq
106 self.arguments = arguments
107 self.kwargs = kwargs
108
109
110 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
111 type = self.type # noqa (assign to builtin)
112 command = self.command
113 seq = self.seq
114 arguments = self.arguments
115 dct = {
116 'type': type,
117 'command': command,
118 'seq': seq,
119 }
120 if arguments is not None:
121 dct['arguments'] = arguments
122 dct.update(self.kwargs)
123 return dct
124
125
126 @register
127 class Event(BaseSchema):
128 """
129 A debug adapter initiated event.
130
131 Note: automatically generated code. Do not edit manually.
132 """
133
134 __props__ = {
135 "seq": {
136 "type": "integer",
-
E501
Line too long (155 > 79 characters)
137 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
138 },
139 "type": {
140 "type": "string",
141 "enum": [
142 "event"
143 ]
144 },
145 "event": {
146 "type": "string",
147 "description": "Type of event."
148 },
149 "body": {
150 "type": [
151 "array",
152 "boolean",
153 "integer",
154 "null",
155 "number",
156 "object",
157 "string"
158 ],
159 "description": "Event-specific information."
160 }
161 }
162 __refs__ = set()
163
164 __slots__ = list(__props__.keys()) + ['kwargs']
165
166 def __init__(self, event, seq=-1, body=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
167 """
169 :param string event: Type of event.
-
E501
Line too long (154 > 79 characters)
170 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (118 > 79 characters)
171 :param ['array', 'boolean', 'integer', 'null', 'number', 'object', 'string'] body: Event-specific information.
172 """
173 self.type = 'event'
174 self.event = event
175 self.seq = seq
176 self.body = body
177 self.kwargs = kwargs
178
179
180 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
181 type = self.type # noqa (assign to builtin)
182 event = self.event
183 seq = self.seq
184 body = self.body
185 dct = {
186 'type': type,
187 'event': event,
188 'seq': seq,
189 }
190 if body is not None:
191 dct['body'] = body
192 dct.update(self.kwargs)
193 return dct
194
195
196 @register
197 class Response(BaseSchema):
198 """
199 Response for a request.
200
201 Note: automatically generated code. Do not edit manually.
202 """
203
204 __props__ = {
205 "seq": {
206 "type": "integer",
-
E501
Line too long (155 > 79 characters)
207 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
208 },
209 "type": {
210 "type": "string",
211 "enum": [
212 "response"
213 ]
214 },
215 "request_seq": {
216 "type": "integer",
217 "description": "Sequence number of the corresponding request."
218 },
219 "success": {
220 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
221 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
222 },
223 "command": {
224 "type": "string",
225 "description": "The command requested."
226 },
227 "message": {
228 "type": "string",
-
E501
Line too long (201 > 79 characters)
229 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
230 "_enum": [
231 "cancelled"
232 ],
233 "enumDescriptions": [
234 "request was cancelled."
235 ]
236 },
237 "body": {
238 "type": [
239 "array",
240 "boolean",
241 "integer",
242 "null",
243 "number",
244 "object",
245 "string"
246 ],
-
E501
Line too long (119 > 79 characters)
247 "description": "Contains request result if success is true and optional error details if success is false."
248 }
249 }
250 __refs__ = set()
251
252 __slots__ = list(__props__.keys()) + ['kwargs']
253
254 def __init__(self, request_seq, success, command, seq=-1, message=None, body=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
255 """
-
E501
Line too long (81 > 79 characters)
257 :param integer request_seq: Sequence number of the corresponding request.
258 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
259 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
260 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
261 :param string command: The command requested.
-
E501
Line too long (154 > 79 characters)
262 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
263 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
264 This raw error might be interpreted by the frontend and is not shown in the UI.
265 Some predefined values exist.
-
E501
Line too long (181 > 79 characters)
266 :param ['array', 'boolean', 'integer', 'null', 'number', 'object', 'string'] body: Contains request result if success is true and optional error details if success is false.
267 """
268 self.type = 'response'
269 self.request_seq = request_seq
270 self.success = success
271 self.command = command
272 self.seq = seq
273 self.message = message
274 self.body = body
275 self.kwargs = kwargs
276
277
278 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
279 type = self.type # noqa (assign to builtin)
280 request_seq = self.request_seq
281 success = self.success
282 command = self.command
283 seq = self.seq
284 message = self.message
285 body = self.body
286 dct = {
287 'type': type,
288 'request_seq': request_seq,
289 'success': success,
290 'command': command,
291 'seq': seq,
292 }
293 if message is not None:
294 dct['message'] = message
295 if body is not None:
296 dct['body'] = body
297 dct.update(self.kwargs)
298 return dct
299
300
301 @register_response('error')
302 @register
303 class ErrorResponse(BaseSchema):
304 """
305 On error (whenever 'success' is false), the body can provide more details.
306
307 Note: automatically generated code. Do not edit manually.
308 """
309
310 __props__ = {
311 "seq": {
312 "type": "integer",
-
E501
Line too long (155 > 79 characters)
313 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
314 },
315 "type": {
316 "type": "string",
317 "enum": [
318 "response"
319 ]
320 },
321 "request_seq": {
322 "type": "integer",
323 "description": "Sequence number of the corresponding request."
324 },
325 "success": {
326 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
327 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
328 },
329 "command": {
330 "type": "string",
331 "description": "The command requested."
332 },
333 "message": {
334 "type": "string",
-
E501
Line too long (201 > 79 characters)
335 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
336 "_enum": [
337 "cancelled"
338 ],
339 "enumDescriptions": [
340 "request was cancelled."
341 ]
342 },
343 "body": {
344 "type": "object",
345 "properties": {
346 "error": {
347 "$ref": "#/definitions/Message",
348 "description": "An optional, structured error message."
349 }
350 }
351 }
352 }
353 __refs__ = set(['body'])
354
355 __slots__ = list(__props__.keys()) + ['kwargs']
356
357 def __init__(self, request_seq, success, command, body, seq=-1, message=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
358 """
-
E501
Line too long (81 > 79 characters)
360 :param integer request_seq: Sequence number of the corresponding request.
361 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
362 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
363 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
364 :param string command: The command requested.
365 :param ErrorResponseBody body:
-
E501
Line too long (154 > 79 characters)
366 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
367 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
368 This raw error might be interpreted by the frontend and is not shown in the UI.
369 Some predefined values exist.
370 """
371 self.type = 'response'
372 self.request_seq = request_seq
373 self.success = success
374 self.command = command
375 if body is None:
376 self.body = ErrorResponseBody()
377 else:
-
E501
Line too long (140 > 79 characters)
-
E222
Multiple spaces after operator
378 self.body = ErrorResponseBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != ErrorResponseBody else body
379 self.seq = seq
380 self.message = message
381 self.kwargs = kwargs
382
383
384 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
385 type = self.type # noqa (assign to builtin)
386 request_seq = self.request_seq
387 success = self.success
388 command = self.command
389 body = self.body
390 seq = self.seq
391 message = self.message
392 dct = {
393 'type': type,
394 'request_seq': request_seq,
395 'success': success,
396 'command': command,
397 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
398 'seq': seq,
399 }
400 if message is not None:
401 dct['message'] = message
402 dct.update(self.kwargs)
403 return dct
404
405
406 @register_request('cancel')
407 @register
408 class CancelRequest(BaseSchema):
409 """
410 The 'cancel' request is used by the frontend in two situations:
-
W293
Blank line contains whitespace
411
-
E501
Line too long (101 > 79 characters)
412 - to indicate that it is no longer interested in the result produced by a specific request issued
413 earlier
-
W293
Blank line contains whitespace
414
-
E501
Line too long (92 > 79 characters)
415 - to cancel a progress sequence. Clients should only call this request if the capability
416 'supportsCancelRequest' is true.
-
W293
Blank line contains whitespace
417
-
E501
Line too long (104 > 79 characters)
418 This request has a hint characteristic: a debug adapter can only be expected to make a 'best effort'
419 in honouring this request but there are no guarantees.
-
W293
Blank line contains whitespace
420
-
E501
Line too long (102 > 79 characters)
421 The 'cancel' request may return an error if it could not cancel an operation but a frontend should
422 refrain from presenting this error to end users.
-
W293
Blank line contains whitespace
423
-
E501
Line too long (102 > 79 characters)
424 A frontend client should only call this request if the capability 'supportsCancelRequest' is true.
-
W293
Blank line contains whitespace
425
-
E501
Line too long (98 > 79 characters)
426 The request that got canceled still needs to send a response back. This can either be a normal
427 result ('success' attribute true)
-
W293
Blank line contains whitespace
428
-
E501
Line too long (90 > 79 characters)
429 or an error response ('success' attribute false and the 'message' set to 'cancelled').
-
W293
Blank line contains whitespace
430
-
E501
Line too long (98 > 79 characters)
431 Returning partial results from a cancelled request is possible but please note that a frontend
432 client has no generic way for detecting that a response is partial or not.
-
W293
Blank line contains whitespace
433
-
E501
Line too long (83 > 79 characters)
434 The progress that got cancelled still needs to send a 'progressEnd' event back.
-
W293
Blank line contains whitespace
435
-
E501
Line too long (99 > 79 characters)
436 A client should not assume that progress just got cancelled after sending the 'cancel' request.
437
438 Note: automatically generated code. Do not edit manually.
439 """
440
441 __props__ = {
442 "seq": {
443 "type": "integer",
-
E501
Line too long (155 > 79 characters)
444 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
445 },
446 "type": {
447 "type": "string",
448 "enum": [
449 "request"
450 ]
451 },
452 "command": {
453 "type": "string",
454 "enum": [
455 "cancel"
456 ]
457 },
458 "arguments": {
459 "type": "CancelArguments"
460 }
461 }
462 __refs__ = set(['arguments'])
463
464 __slots__ = list(__props__.keys()) + ['kwargs']
465
466 def __init__(self, seq=-1, arguments=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
467 """
469 :param string command:
-
E501
Line too long (154 > 79 characters)
470 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
471 :param CancelArguments arguments:
472 """
473 self.type = 'request'
474 self.command = 'cancel'
475 self.seq = seq
476 if arguments is None:
477 self.arguments = CancelArguments()
478 else:
-
E501
Line too long (156 > 79 characters)
-
E222
Multiple spaces after operator
479 self.arguments = CancelArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != CancelArguments else arguments
480 self.kwargs = kwargs
481
482
483 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
484 type = self.type # noqa (assign to builtin)
485 command = self.command
486 seq = self.seq
487 arguments = self.arguments
488 dct = {
489 'type': type,
490 'command': command,
491 'seq': seq,
492 }
493 if arguments is not None:
-
E501
Line too long (85 > 79 characters)
494 dct['arguments'] = arguments.to_dict(update_ids_to_dap=update_ids_to_dap)
495 dct.update(self.kwargs)
496 return dct
497
498
499 @register
500 class CancelArguments(BaseSchema):
501 """
502 Arguments for 'cancel' request.
503
504 Note: automatically generated code. Do not edit manually.
505 """
506
507 __props__ = {
508 "requestId": {
509 "type": "integer",
-
E501
Line too long (187 > 79 characters)
510 "description": "The ID (attribute 'seq') of the request to cancel. If missing no request is cancelled.\nBoth a 'requestId' and a 'progressId' can be specified in one request."
511 },
512 "progressId": {
513 "type": "string",
-
E501
Line too long (196 > 79 characters)
514 "description": "The ID (attribute 'progressId') of the progress to cancel. If missing no progress is cancelled.\nBoth a 'requestId' and a 'progressId' can be specified in one request."
515 }
516 }
517 __refs__ = set()
518
519 __slots__ = list(__props__.keys()) + ['kwargs']
520
521 def __init__(self, requestId=None, progressId=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
522 """
-
E501
Line too long (120 > 79 characters)
523 :param integer requestId: The ID (attribute 'seq') of the request to cancel. If missing no request is cancelled.
524 Both a 'requestId' and a 'progressId' can be specified in one request.
-
E501
Line too long (129 > 79 characters)
525 :param string progressId: The ID (attribute 'progressId') of the progress to cancel. If missing no progress is cancelled.
526 Both a 'requestId' and a 'progressId' can be specified in one request.
527 """
528 self.requestId = requestId
529 self.progressId = progressId
530 self.kwargs = kwargs
531
532
533 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
534 requestId = self.requestId
535 progressId = self.progressId
536 dct = {
537 }
538 if requestId is not None:
539 dct['requestId'] = requestId
540 if progressId is not None:
541 dct['progressId'] = progressId
542 dct.update(self.kwargs)
543 return dct
544
545
546 @register_response('cancel')
547 @register
548 class CancelResponse(BaseSchema):
549 """
-
E501
Line too long (96 > 79 characters)
550 Response to 'cancel' request. This is just an acknowledgement, so no body field is required.
551
552 Note: automatically generated code. Do not edit manually.
553 """
554
555 __props__ = {
556 "seq": {
557 "type": "integer",
-
E501
Line too long (155 > 79 characters)
558 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
559 },
560 "type": {
561 "type": "string",
562 "enum": [
563 "response"
564 ]
565 },
566 "request_seq": {
567 "type": "integer",
568 "description": "Sequence number of the corresponding request."
569 },
570 "success": {
571 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
572 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
573 },
574 "command": {
575 "type": "string",
576 "description": "The command requested."
577 },
578 "message": {
579 "type": "string",
-
E501
Line too long (201 > 79 characters)
580 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
581 "_enum": [
582 "cancelled"
583 ],
584 "enumDescriptions": [
585 "request was cancelled."
586 ]
587 },
588 "body": {
589 "type": [
590 "array",
591 "boolean",
592 "integer",
593 "null",
594 "number",
595 "object",
596 "string"
597 ],
-
E501
Line too long (119 > 79 characters)
598 "description": "Contains request result if success is true and optional error details if success is false."
599 }
600 }
601 __refs__ = set()
602
603 __slots__ = list(__props__.keys()) + ['kwargs']
604
605 def __init__(self, request_seq, success, command, seq=-1, message=None, body=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
606 """
-
E501
Line too long (81 > 79 characters)
608 :param integer request_seq: Sequence number of the corresponding request.
609 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
610 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
611 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
612 :param string command: The command requested.
-
E501
Line too long (154 > 79 characters)
613 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
614 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
615 This raw error might be interpreted by the frontend and is not shown in the UI.
616 Some predefined values exist.
-
E501
Line too long (181 > 79 characters)
617 :param ['array', 'boolean', 'integer', 'null', 'number', 'object', 'string'] body: Contains request result if success is true and optional error details if success is false.
618 """
619 self.type = 'response'
620 self.request_seq = request_seq
621 self.success = success
622 self.command = command
623 self.seq = seq
624 self.message = message
625 self.body = body
626 self.kwargs = kwargs
627
628
629 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
630 type = self.type # noqa (assign to builtin)
631 request_seq = self.request_seq
632 success = self.success
633 command = self.command
634 seq = self.seq
635 message = self.message
636 body = self.body
637 dct = {
638 'type': type,
639 'request_seq': request_seq,
640 'success': success,
641 'command': command,
642 'seq': seq,
643 }
644 if message is not None:
645 dct['message'] = message
646 if body is not None:
647 dct['body'] = body
648 dct.update(self.kwargs)
649 return dct
650
651
652 @register_event('initialized')
653 @register
654 class InitializedEvent(BaseSchema):
655 """
-
E501
Line too long (95 > 79 characters)
656 This event indicates that the debug adapter is ready to accept configuration requests (e.g.
657 SetBreakpointsRequest, SetExceptionBreakpointsRequest).
-
W293
Blank line contains whitespace
658
-
E501
Line too long (100 > 79 characters)
659 A debug adapter is expected to send this event when it is ready to accept configuration requests
660 (but not before the 'initialize' request has finished).
-
W293
Blank line contains whitespace
661
662 The sequence of events/requests is as follows:
-
W293
Blank line contains whitespace
663
-
E501
Line too long (86 > 79 characters)
664 - adapters sends 'initialized' event (after the 'initialize' request has returned)
-
W293
Blank line contains whitespace
665
666 - frontend sends zero or more 'setBreakpoints' requests
-
W293
Blank line contains whitespace
667
-
E501
Line too long (102 > 79 characters)
668 - frontend sends one 'setFunctionBreakpoints' request (if capability 'supportsFunctionBreakpoints'
669 is true)
-
W293
Blank line contains whitespace
670
-
E501
Line too long (100 > 79 characters)
671 - frontend sends a 'setExceptionBreakpoints' request if one or more 'exceptionBreakpointFilters'
-
E501
Line too long (88 > 79 characters)
672 have been defined (or if 'supportsConfigurationDoneRequest' is not defined or false)
-
W293
Blank line contains whitespace
673
674 - frontend sends other future configuration requests
-
W293
Blank line contains whitespace
675
-
E501
Line too long (94 > 79 characters)
676 - frontend sends one 'configurationDone' request to indicate the end of the configuration.
677
678 Note: automatically generated code. Do not edit manually.
679 """
680
681 __props__ = {
682 "seq": {
683 "type": "integer",
-
E501
Line too long (155 > 79 characters)
684 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
685 },
686 "type": {
687 "type": "string",
688 "enum": [
689 "event"
690 ]
691 },
692 "event": {
693 "type": "string",
694 "enum": [
695 "initialized"
696 ]
697 },
698 "body": {
699 "type": [
700 "array",
701 "boolean",
702 "integer",
703 "null",
704 "number",
705 "object",
706 "string"
707 ],
708 "description": "Event-specific information."
709 }
710 }
711 __refs__ = set()
712
713 __slots__ = list(__props__.keys()) + ['kwargs']
714
715 def __init__(self, seq=-1, body=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
716 """
-
E501
Line too long (154 > 79 characters)
719 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (118 > 79 characters)
720 :param ['array', 'boolean', 'integer', 'null', 'number', 'object', 'string'] body: Event-specific information.
721 """
722 self.type = 'event'
723 self.event = 'initialized'
724 self.seq = seq
725 self.body = body
726 self.kwargs = kwargs
727
728
729 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
730 type = self.type # noqa (assign to builtin)
731 event = self.event
732 seq = self.seq
733 body = self.body
734 dct = {
735 'type': type,
736 'event': event,
737 'seq': seq,
738 }
739 if body is not None:
740 dct['body'] = body
741 dct.update(self.kwargs)
742 return dct
743
744
745 @register_event('stopped')
746 @register
747 class StoppedEvent(BaseSchema):
748 """
-
E501
Line too long (93 > 79 characters)
749 The event indicates that the execution of the debuggee has stopped due to some condition.
-
W293
Blank line contains whitespace
750
-
E501
Line too long (104 > 79 characters)
751 This can be caused by a break point previously set, a stepping request has completed, by executing a
752 debugger statement etc.
753
754 Note: automatically generated code. Do not edit manually.
755 """
756
757 __props__ = {
758 "seq": {
759 "type": "integer",
-
E501
Line too long (155 > 79 characters)
760 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
761 },
762 "type": {
763 "type": "string",
764 "enum": [
765 "event"
766 ]
767 },
768 "event": {
769 "type": "string",
770 "enum": [
771 "stopped"
772 ]
773 },
774 "body": {
775 "type": "object",
776 "properties": {
777 "reason": {
778 "type": "string",
-
E501
Line too long (197 > 79 characters)
779 "description": "The reason for the event.\nFor backward compatibility this string is shown in the UI if the 'description' attribute is missing (but it must not be translated).",
780 "_enum": [
781 "step",
782 "breakpoint",
783 "exception",
784 "pause",
785 "entry",
786 "goto",
787 "function breakpoint",
788 "data breakpoint",
789 "instruction breakpoint"
790 ]
791 },
792 "description": {
793 "type": "string",
-
E501
Line too long (156 > 79 characters)
794 "description": "The full reason for the event, e.g. 'Paused on exception'. This string is shown in the UI as is and must be translated."
795 },
796 "threadId": {
797 "type": "integer",
798 "description": "The thread which was stopped."
799 },
800 "preserveFocusHint": {
801 "type": "boolean",
-
E501
Line too long (119 > 79 characters)
802 "description": "A value of true hints to the frontend that this event should not change the focus."
803 },
804 "text": {
805 "type": "string",
-
E501
Line too long (157 > 79 characters)
806 "description": "Additional information. E.g. if reason is 'exception', text contains the exception name. This string is shown in the UI."
807 },
808 "allThreadsStopped": {
809 "type": "boolean",
-
E501
Line too long (340 > 79 characters)
810 "description": "If 'allThreadsStopped' is true, a debug adapter can announce that all threads have stopped.\n- The client should use this information to enable that all threads can be expanded to access their stacktraces.\n- If the attribute is missing or false, only the thread with the given threadId can be expanded."
811 }
812 },
813 "required": [
814 "reason"
815 ]
816 }
817 }
818 __refs__ = set(['body'])
819
820 __slots__ = list(__props__.keys()) + ['kwargs']
821
822 def __init__(self, body, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
823 """
826 :param StoppedEventBody body:
-
E501
Line too long (154 > 79 characters)
827 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
828 """
829 self.type = 'event'
830 self.event = 'stopped'
831 if body is None:
832 self.body = StoppedEventBody()
833 else:
-
E501
Line too long (138 > 79 characters)
-
E222
Multiple spaces after operator
834 self.body = StoppedEventBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != StoppedEventBody else body
835 self.seq = seq
836 self.kwargs = kwargs
837
838
839 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
840 type = self.type # noqa (assign to builtin)
841 event = self.event
842 body = self.body
843 seq = self.seq
844 dct = {
845 'type': type,
846 'event': event,
847 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
848 'seq': seq,
849 }
850 dct.update(self.kwargs)
851 return dct
852
853
854 @register_event('continued')
855 @register
856 class ContinuedEvent(BaseSchema):
857 """
858 The event indicates that the execution of the debuggee has continued.
-
W293
Blank line contains whitespace
859
-
E501
Line too long (97 > 79 characters)
860 Please note: a debug adapter is not expected to send this event in response to a request that
861 implies that execution continues, e.g. 'launch' or 'continue'.
-
W293
Blank line contains whitespace
862
-
E501
Line too long (104 > 79 characters)
863 It is only necessary to send a 'continued' event if there was no previous request that implied this.
864
865 Note: automatically generated code. Do not edit manually.
866 """
867
868 __props__ = {
869 "seq": {
870 "type": "integer",
-
E501
Line too long (155 > 79 characters)
871 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
872 },
873 "type": {
874 "type": "string",
875 "enum": [
876 "event"
877 ]
878 },
879 "event": {
880 "type": "string",
881 "enum": [
882 "continued"
883 ]
884 },
885 "body": {
886 "type": "object",
887 "properties": {
888 "threadId": {
889 "type": "integer",
890 "description": "The thread which was continued."
891 },
892 "allThreadsContinued": {
893 "type": "boolean",
-
E501
Line too long (132 > 79 characters)
894 "description": "If 'allThreadsContinued' is true, a debug adapter can announce that all threads have continued."
895 }
896 },
897 "required": [
898 "threadId"
899 ]
900 }
901 }
902 __refs__ = set(['body'])
903
904 __slots__ = list(__props__.keys()) + ['kwargs']
905
906 def __init__(self, body, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
907 """
910 :param ContinuedEventBody body:
-
E501
Line too long (154 > 79 characters)
911 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
912 """
913 self.type = 'event'
914 self.event = 'continued'
915 if body is None:
916 self.body = ContinuedEventBody()
917 else:
-
E501
Line too long (142 > 79 characters)
-
E222
Multiple spaces after operator
918 self.body = ContinuedEventBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != ContinuedEventBody else body
919 self.seq = seq
920 self.kwargs = kwargs
921
922
923 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
924 type = self.type # noqa (assign to builtin)
925 event = self.event
926 body = self.body
927 seq = self.seq
928 dct = {
929 'type': type,
930 'event': event,
931 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
932 'seq': seq,
933 }
934 dct.update(self.kwargs)
935 return dct
936
937
938 @register_event('exited')
939 @register
940 class ExitedEvent(BaseSchema):
941 """
942 The event indicates that the debuggee has exited and returns its exit code.
943
944 Note: automatically generated code. Do not edit manually.
945 """
946
947 __props__ = {
948 "seq": {
949 "type": "integer",
-
E501
Line too long (155 > 79 characters)
950 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
951 },
952 "type": {
953 "type": "string",
954 "enum": [
955 "event"
956 ]
957 },
958 "event": {
959 "type": "string",
960 "enum": [
961 "exited"
962 ]
963 },
964 "body": {
965 "type": "object",
966 "properties": {
967 "exitCode": {
968 "type": "integer",
969 "description": "The exit code returned from the debuggee."
970 }
971 },
972 "required": [
973 "exitCode"
974 ]
975 }
976 }
977 __refs__ = set(['body'])
978
979 __slots__ = list(__props__.keys()) + ['kwargs']
980
981 def __init__(self, body, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
982 """
985 :param ExitedEventBody body:
-
E501
Line too long (154 > 79 characters)
986 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
987 """
988 self.type = 'event'
989 self.event = 'exited'
990 if body is None:
991 self.body = ExitedEventBody()
992 else:
-
E501
Line too long (136 > 79 characters)
-
E222
Multiple spaces after operator
993 self.body = ExitedEventBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != ExitedEventBody else body
994 self.seq = seq
995 self.kwargs = kwargs
996
997
998 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
999 type = self.type # noqa (assign to builtin)
1000 event = self.event
1001 body = self.body
1002 seq = self.seq
1003 dct = {
1004 'type': type,
1005 'event': event,
1006 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
1007 'seq': seq,
1008 }
1009 dct.update(self.kwargs)
1010 return dct
1011
1012
1013 @register_event('terminated')
1014 @register
1015 class TerminatedEvent(BaseSchema):
1016 """
-
E501
Line too long (102 > 79 characters)
1017 The event indicates that debugging of the debuggee has terminated. This does **not** mean that the
1018 debuggee itself has exited.
1019
1020 Note: automatically generated code. Do not edit manually.
1021 """
1022
1023 __props__ = {
1024 "seq": {
1025 "type": "integer",
-
E501
Line too long (155 > 79 characters)
1026 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
1027 },
1028 "type": {
1029 "type": "string",
1030 "enum": [
1031 "event"
1032 ]
1033 },
1034 "event": {
1035 "type": "string",
1036 "enum": [
1037 "terminated"
1038 ]
1039 },
1040 "body": {
1041 "type": "object",
1042 "properties": {
1043 "restart": {
1044 "type": [
1045 "array",
1046 "boolean",
1047 "integer",
1048 "null",
1049 "number",
1050 "object",
1051 "string"
1052 ],
-
E501
Line too long (291 > 79 characters)
1053 "description": "A debug adapter may set 'restart' to true (or to an arbitrary object) to request that the front end restarts the session.\nThe value is not interpreted by the client and passed unmodified as an attribute '__restart' to the 'launch' and 'attach' requests."
1054 }
1055 }
1056 }
1057 }
1058 __refs__ = set(['body'])
1059
1060 __slots__ = list(__props__.keys()) + ['kwargs']
1061
1062 def __init__(self, seq=-1, body=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
1063 """
1065 :param string event:
-
E501
Line too long (154 > 79 characters)
1066 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
1067 :param TerminatedEventBody body:
1068 """
1069 self.type = 'event'
1070 self.event = 'terminated'
1071 self.seq = seq
1072 if body is None:
1073 self.body = TerminatedEventBody()
1074 else:
-
E501
Line too long (144 > 79 characters)
-
E222
Multiple spaces after operator
1075 self.body = TerminatedEventBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != TerminatedEventBody else body
1076 self.kwargs = kwargs
1077
1078
1079 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
1080 type = self.type # noqa (assign to builtin)
1081 event = self.event
1082 seq = self.seq
1083 body = self.body
1084 dct = {
1085 'type': type,
1086 'event': event,
1087 'seq': seq,
1088 }
1089 if body is not None:
1090 dct['body'] = body.to_dict(update_ids_to_dap=update_ids_to_dap)
1091 dct.update(self.kwargs)
1092 return dct
1093
1094
1095 @register_event('thread')
1096 @register
1097 class ThreadEvent(BaseSchema):
1098 """
1099 The event indicates that a thread has started or exited.
1100
1101 Note: automatically generated code. Do not edit manually.
1102 """
1103
1104 __props__ = {
1105 "seq": {
1106 "type": "integer",
-
E501
Line too long (155 > 79 characters)
1107 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
1108 },
1109 "type": {
1110 "type": "string",
1111 "enum": [
1112 "event"
1113 ]
1114 },
1115 "event": {
1116 "type": "string",
1117 "enum": [
1118 "thread"
1119 ]
1120 },
1121 "body": {
1122 "type": "object",
1123 "properties": {
1124 "reason": {
1125 "type": "string",
1126 "description": "The reason for the event.",
1127 "_enum": [
1128 "started",
1129 "exited"
1130 ]
1131 },
1132 "threadId": {
1133 "type": "integer",
1134 "description": "The identifier of the thread."
1135 }
1136 },
1137 "required": [
1138 "reason",
1139 "threadId"
1140 ]
1141 }
1142 }
1143 __refs__ = set(['body'])
1144
1145 __slots__ = list(__props__.keys()) + ['kwargs']
1146
1147 def __init__(self, body, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
1148 """
1150 :param string event:
1151 :param ThreadEventBody body:
-
E501
Line too long (154 > 79 characters)
1152 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
1153 """
1154 self.type = 'event'
1155 self.event = 'thread'
1156 if body is None:
1157 self.body = ThreadEventBody()
1158 else:
-
E501
Line too long (136 > 79 characters)
-
E222
Multiple spaces after operator
1159 self.body = ThreadEventBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != ThreadEventBody else body
1160 self.seq = seq
1161 self.kwargs = kwargs
1162
1163
1164 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
1165 type = self.type # noqa (assign to builtin)
1166 event = self.event
1167 body = self.body
1168 seq = self.seq
1169 dct = {
1170 'type': type,
1171 'event': event,
1172 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
1173 'seq': seq,
1174 }
1175 dct.update(self.kwargs)
1176 return dct
1177
1178
1179 @register_event('output')
1180 @register
1181 class OutputEvent(BaseSchema):
1182 """
1183 The event indicates that the target has produced some output.
1184
1185 Note: automatically generated code. Do not edit manually.
1186 """
1187
1188 __props__ = {
1189 "seq": {
1190 "type": "integer",
-
E501
Line too long (155 > 79 characters)
1191 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
1192 },
1193 "type": {
1194 "type": "string",
1195 "enum": [
1196 "event"
1197 ]
1198 },
1199 "event": {
1200 "type": "string",
1201 "enum": [
1202 "output"
1203 ]
1204 },
1205 "body": {
1206 "type": "object",
1207 "properties": {
1208 "category": {
1209 "type": "string",
-
E501
Line too long (98 > 79 characters)
1210 "description": "The output category. If not specified, 'console' is assumed.",
1211 "_enum": [
1212 "console",
1213 "stdout",
1214 "stderr",
1215 "telemetry"
1216 ]
1217 },
1218 "output": {
1219 "type": "string",
1220 "description": "The output to report."
1221 },
1222 "group": {
1223 "type": "string",
-
E501
Line too long (111 > 79 characters)
1224 "description": "Support for keeping an output log organized by grouping related messages.",
1225 "enum": [
1226 "start",
1227 "startCollapsed",
1228 "end"
1229 ],
1230 "enumDescriptions": [
-
E501
Line too long (217 > 79 characters)
1231 "Start a new group in expanded mode. Subsequent output events are members of the group and should be shown indented.\nThe 'output' attribute becomes the name of the group and is not indented.",
-
E501
Line too long (253 > 79 characters)
1232 "Start a new group in collapsed mode. Subsequent output events are members of the group and should be shown indented (as soon as the group is expanded).\nThe 'output' attribute becomes the name of the group and is not indented.",
-
E501
Line too long (183 > 79 characters)
1233 "End the current group and decreases the indentation of subsequent output events.\nA non empty 'output' attribute is shown as the unindented end of the group."
1234 ]
1235 },
1236 "variablesReference": {
1237 "type": "integer",
-
E501
Line too long (276 > 79 characters)
1238 "description": "If an attribute 'variablesReference' exists and its value is > 0, the output contains objects which can be retrieved by passing 'variablesReference' to the 'variables' request. The value should be less than or equal to 2147483647 (2^31-1)."
1239 },
1240 "source": {
1241 "$ref": "#/definitions/Source",
-
E501
Line too long (95 > 79 characters)
1242 "description": "An optional source location where the output was produced."
1243 },
1244 "line": {
1245 "type": "integer",
-
E501
Line too long (100 > 79 characters)
1246 "description": "An optional source location line where the output was produced."
1247 },
1248 "column": {
1249 "type": "integer",
-
E501
Line too long (102 > 79 characters)
1250 "description": "An optional source location column where the output was produced."
1251 },
1252 "data": {
1253 "type": [
1254 "array",
1255 "boolean",
1256 "integer",
1257 "null",
1258 "number",
1259 "object",
1260 "string"
1261 ],
-
E501
Line too long (185 > 79 characters)
1262 "description": "Optional data to report. For the 'telemetry' category the data will be sent to telemetry, for the other categories the data is shown in JSON format."
1263 }
1264 },
1265 "required": [
1266 "output"
1267 ]
1268 }
1269 }
1270 __refs__ = set(['body'])
1271
1272 __slots__ = list(__props__.keys()) + ['kwargs']
1273
1274 def __init__(self, body, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
1275 """
1277 :param string event:
1278 :param OutputEventBody body:
-
E501
Line too long (154 > 79 characters)
1279 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
1280 """
1281 self.type = 'event'
1282 self.event = 'output'
1283 if body is None:
1284 self.body = OutputEventBody()
1285 else:
-
E501
Line too long (136 > 79 characters)
-
E222
Multiple spaces after operator
1286 self.body = OutputEventBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != OutputEventBody else body
1287 self.seq = seq
1288 self.kwargs = kwargs
1289
1290
1291 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
1292 type = self.type # noqa (assign to builtin)
1293 event = self.event
1294 body = self.body
1295 seq = self.seq
1296 dct = {
1297 'type': type,
1298 'event': event,
1299 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
1300 'seq': seq,
1301 }
1302 dct.update(self.kwargs)
1303 return dct
1304
1305
1306 @register_event('breakpoint')
1307 @register
1308 class BreakpointEvent(BaseSchema):
1309 """
1310 The event indicates that some information about a breakpoint has changed.
1311
1312 Note: automatically generated code. Do not edit manually.
1313 """
1314
1315 __props__ = {
1316 "seq": {
1317 "type": "integer",
-
E501
Line too long (155 > 79 characters)
1318 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
1319 },
1320 "type": {
1321 "type": "string",
1322 "enum": [
1323 "event"
1324 ]
1325 },
1326 "event": {
1327 "type": "string",
1328 "enum": [
1329 "breakpoint"
1330 ]
1331 },
1332 "body": {
1333 "type": "object",
1334 "properties": {
1335 "reason": {
1336 "type": "string",
1337 "description": "The reason for the event.",
1338 "_enum": [
1339 "changed",
1340 "new",
1341 "removed"
1342 ]
1343 },
1344 "breakpoint": {
1345 "$ref": "#/definitions/Breakpoint",
-
E501
Line too long (146 > 79 characters)
1346 "description": "The 'id' attribute is used to find the target breakpoint and the other attributes are used as the new values."
1347 }
1348 },
1349 "required": [
1350 "reason",
1351 "breakpoint"
1352 ]
1353 }
1354 }
1355 __refs__ = set(['body'])
1356
1357 __slots__ = list(__props__.keys()) + ['kwargs']
1358
1359 def __init__(self, body, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
1360 """
1362 :param string event:
1363 :param BreakpointEventBody body:
-
E501
Line too long (154 > 79 characters)
1364 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
1365 """
1366 self.type = 'event'
1367 self.event = 'breakpoint'
1368 if body is None:
1369 self.body = BreakpointEventBody()
1370 else:
-
E501
Line too long (144 > 79 characters)
-
E222
Multiple spaces after operator
1371 self.body = BreakpointEventBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != BreakpointEventBody else body
1372 self.seq = seq
1373 self.kwargs = kwargs
1374
1375
1376 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
1377 type = self.type # noqa (assign to builtin)
1378 event = self.event
1379 body = self.body
1380 seq = self.seq
1381 dct = {
1382 'type': type,
1383 'event': event,
1384 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
1385 'seq': seq,
1386 }
1387 dct.update(self.kwargs)
1388 return dct
1389
1390
1391 @register_event('module')
1392 @register
1393 class ModuleEvent(BaseSchema):
1394 """
1395 The event indicates that some information about a module has changed.
1396
1397 Note: automatically generated code. Do not edit manually.
1398 """
1399
1400 __props__ = {
1401 "seq": {
1402 "type": "integer",
-
E501
Line too long (155 > 79 characters)
1403 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
1404 },
1405 "type": {
1406 "type": "string",
1407 "enum": [
1408 "event"
1409 ]
1410 },
1411 "event": {
1412 "type": "string",
1413 "enum": [
1414 "module"
1415 ]
1416 },
1417 "body": {
1418 "type": "object",
1419 "properties": {
1420 "reason": {
1421 "type": "string",
1422 "description": "The reason for the event.",
1423 "enum": [
1424 "new",
1425 "changed",
1426 "removed"
1427 ]
1428 },
1429 "module": {
1430 "$ref": "#/definitions/Module",
-
E501
Line too long (122 > 79 characters)
1431 "description": "The new, changed, or removed module. In case of 'removed' only the module id is used."
1432 }
1433 },
1434 "required": [
1435 "reason",
1436 "module"
1437 ]
1438 }
1439 }
1440 __refs__ = set(['body'])
1441
1442 __slots__ = list(__props__.keys()) + ['kwargs']
1443
1444 def __init__(self, body, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
1445 """
1447 :param string event:
1448 :param ModuleEventBody body:
-
E501
Line too long (154 > 79 characters)
1449 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
1450 """
1451 self.type = 'event'
1452 self.event = 'module'
1453 if body is None:
1454 self.body = ModuleEventBody()
1455 else:
-
E501
Line too long (136 > 79 characters)
-
E222
Multiple spaces after operator
1456 self.body = ModuleEventBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != ModuleEventBody else body
1457 self.seq = seq
1458 self.kwargs = kwargs
1459
1460
1461 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
1462 type = self.type # noqa (assign to builtin)
1463 event = self.event
1464 body = self.body
1465 seq = self.seq
1466 dct = {
1467 'type': type,
1468 'event': event,
1469 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
1470 'seq': seq,
1471 }
1472 dct.update(self.kwargs)
1473 return dct
1474
1475
1476 @register_event('loadedSource')
1477 @register
1478 class LoadedSourceEvent(BaseSchema):
1479 """
-
E501
Line too long (103 > 79 characters)
1480 The event indicates that some source has been added, changed, or removed from the set of all loaded
1481 sources.
1482
1483 Note: automatically generated code. Do not edit manually.
1484 """
1485
1486 __props__ = {
1487 "seq": {
1488 "type": "integer",
-
E501
Line too long (155 > 79 characters)
1489 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
1490 },
1491 "type": {
1492 "type": "string",
1493 "enum": [
1494 "event"
1495 ]
1496 },
1497 "event": {
1498 "type": "string",
1499 "enum": [
1500 "loadedSource"
1501 ]
1502 },
1503 "body": {
1504 "type": "object",
1505 "properties": {
1506 "reason": {
1507 "type": "string",
1508 "description": "The reason for the event.",
1509 "enum": [
1510 "new",
1511 "changed",
1512 "removed"
1513 ]
1514 },
1515 "source": {
1516 "$ref": "#/definitions/Source",
1517 "description": "The new, changed, or removed source."
1518 }
1519 },
1520 "required": [
1521 "reason",
1522 "source"
1523 ]
1524 }
1525 }
1526 __refs__ = set(['body'])
1527
1528 __slots__ = list(__props__.keys()) + ['kwargs']
1529
1530 def __init__(self, body, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
1531 """
1533 :param string event:
1534 :param LoadedSourceEventBody body:
-
E501
Line too long (154 > 79 characters)
1535 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
1536 """
1537 self.type = 'event'
1538 self.event = 'loadedSource'
1539 if body is None:
1540 self.body = LoadedSourceEventBody()
1541 else:
-
E501
Line too long (148 > 79 characters)
-
E222
Multiple spaces after operator
1542 self.body = LoadedSourceEventBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != LoadedSourceEventBody else body
1543 self.seq = seq
1544 self.kwargs = kwargs
1545
1546
1547 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
1548 type = self.type # noqa (assign to builtin)
1549 event = self.event
1550 body = self.body
1551 seq = self.seq
1552 dct = {
1553 'type': type,
1554 'event': event,
1555 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
1556 'seq': seq,
1557 }
1558 dct.update(self.kwargs)
1559 return dct
1560
1561
1562 @register_event('process')
1563 @register
1564 class ProcessEvent(BaseSchema):
1565 """
-
E501
Line too long (99 > 79 characters)
1566 The event indicates that the debugger has begun debugging a new process. Either one that it has
1567 launched, or one that it has attached to.
1568
1569 Note: automatically generated code. Do not edit manually.
1570 """
1571
1572 __props__ = {
1573 "seq": {
1574 "type": "integer",
-
E501
Line too long (155 > 79 characters)
1575 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
1576 },
1577 "type": {
1578 "type": "string",
1579 "enum": [
1580 "event"
1581 ]
1582 },
1583 "event": {
1584 "type": "string",
1585 "enum": [
1586 "process"
1587 ]
1588 },
1589 "body": {
1590 "type": "object",
1591 "properties": {
1592 "name": {
1593 "type": "string",
-
E501
Line too long (171 > 79 characters)
1594 "description": "The logical name of the process. This is usually the full path to process's executable file. Example: /home/example/myproj/program.js."
1595 },
1596 "systemProcessId": {
1597 "type": "integer",
-
E501
Line too long (139 > 79 characters)
1598 "description": "The system process id of the debugged process. This property will be missing for non-system processes."
1599 },
1600 "isLocalProcess": {
1601 "type": "boolean",
-
E501
Line too long (111 > 79 characters)
1602 "description": "If true, the process is running on the same computer as the debug adapter."
1603 },
1604 "startMethod": {
1605 "type": "string",
1606 "enum": [
1607 "launch",
1608 "attach",
1609 "attachForSuspendedLaunch"
1610 ],
-
E501
Line too long (100 > 79 characters)
1611 "description": "Describes how the debug engine started debugging this process.",
1612 "enumDescriptions": [
1613 "Process was launched under the debugger.",
1614 "Debugger attached to an existing process.",
-
E501
Line too long (141 > 79 characters)
1615 "A project launcher component has launched a new process in a suspended state and then asked the debugger to attach."
1616 ]
1617 },
1618 "pointerSize": {
1619 "type": "integer",
-
E501
Line too long (169 > 79 characters)
1620 "description": "The size of a pointer or address for this process, in bits. This value may be used by clients when formatting addresses for display."
1621 }
1622 },
1623 "required": [
1624 "name"
1625 ]
1626 }
1627 }
1628 __refs__ = set(['body'])
1629
1630 __slots__ = list(__props__.keys()) + ['kwargs']
1631
1632 def __init__(self, body, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
1633 """
1635 :param string event:
1636 :param ProcessEventBody body:
-
E501
Line too long (154 > 79 characters)
1637 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
1638 """
1639 self.type = 'event'
1640 self.event = 'process'
1641 if body is None:
1642 self.body = ProcessEventBody()
1643 else:
-
E501
Line too long (138 > 79 characters)
-
E222
Multiple spaces after operator
1644 self.body = ProcessEventBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != ProcessEventBody else body
1645 self.seq = seq
1646 self.kwargs = kwargs
1647
1648
1649 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
1650 type = self.type # noqa (assign to builtin)
1651 event = self.event
1652 body = self.body
1653 seq = self.seq
1654 dct = {
1655 'type': type,
1656 'event': event,
1657 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
1658 'seq': seq,
1659 }
1660 dct.update(self.kwargs)
1661 return dct
1662
1663
1664 @register_event('capabilities')
1665 @register
1666 class CapabilitiesEvent(BaseSchema):
1667 """
1668 The event indicates that one or more capabilities have changed.
-
W293
Blank line contains whitespace
1669
-
E501
Line too long (103 > 79 characters)
1670 Since the capabilities are dependent on the frontend and its UI, it might not be possible to change
1671 that at random times (or too late).
-
W293
Blank line contains whitespace
1672
-
E501
Line too long (102 > 79 characters)
1673 Consequently this event has a hint characteristic: a frontend can only be expected to make a 'best
1674 effort' in honouring individual capabilities but there are no guarantees.
-
W293
Blank line contains whitespace
1675
-
E501
Line too long (92 > 79 characters)
1676 Only changed capabilities need to be included, all other capabilities keep their values.
1677
1678 Note: automatically generated code. Do not edit manually.
1679 """
1680
1681 __props__ = {
1682 "seq": {
1683 "type": "integer",
-
E501
Line too long (155 > 79 characters)
1684 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
1685 },
1686 "type": {
1687 "type": "string",
1688 "enum": [
1689 "event"
1690 ]
1691 },
1692 "event": {
1693 "type": "string",
1694 "enum": [
1695 "capabilities"
1696 ]
1697 },
1698 "body": {
1699 "type": "object",
1700 "properties": {
1701 "capabilities": {
1702 "$ref": "#/definitions/Capabilities",
1703 "description": "The set of updated capabilities."
1704 }
1705 },
1706 "required": [
1707 "capabilities"
1708 ]
1709 }
1710 }
1711 __refs__ = set(['body'])
1712
1713 __slots__ = list(__props__.keys()) + ['kwargs']
1714
1715 def __init__(self, body, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
1716 """
1718 :param string event:
1719 :param CapabilitiesEventBody body:
-
E501
Line too long (154 > 79 characters)
1720 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
1721 """
1722 self.type = 'event'
1723 self.event = 'capabilities'
1724 if body is None:
1725 self.body = CapabilitiesEventBody()
1726 else:
-
E501
Line too long (148 > 79 characters)
-
E222
Multiple spaces after operator
1727 self.body = CapabilitiesEventBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != CapabilitiesEventBody else body
1728 self.seq = seq
1729 self.kwargs = kwargs
1730
1731
1732 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
1733 type = self.type # noqa (assign to builtin)
1734 event = self.event
1735 body = self.body
1736 seq = self.seq
1737 dct = {
1738 'type': type,
1739 'event': event,
1740 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
1741 'seq': seq,
1742 }
1743 dct.update(self.kwargs)
1744 return dct
1745
1746
1747 @register_event('progressStart')
1748 @register
1749 class ProgressStartEvent(BaseSchema):
1750 """
1751 The event signals that a long running operation is about to start and
-
W293
Blank line contains whitespace
1752
-
E501
Line too long (102 > 79 characters)
1753 provides additional information for the client to set up a corresponding progress and cancellation
1754 UI.
-
W293
Blank line contains whitespace
1755
-
E501
Line too long (81 > 79 characters)
1756 The client is free to delay the showing of the UI in order to reduce flicker.
-
W293
Blank line contains whitespace
1757
-
E501
Line too long (82 > 79 characters)
1758 This event should only be sent if the client has passed the value true for the
1759 'supportsProgressReporting' capability of the 'initialize' request.
1760
1761 Note: automatically generated code. Do not edit manually.
1762 """
1763
1764 __props__ = {
1765 "seq": {
1766 "type": "integer",
-
E501
Line too long (155 > 79 characters)
1767 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
1768 },
1769 "type": {
1770 "type": "string",
1771 "enum": [
1772 "event"
1773 ]
1774 },
1775 "event": {
1776 "type": "string",
1777 "enum": [
1778 "progressStart"
1779 ]
1780 },
1781 "body": {
1782 "type": "object",
1783 "properties": {
1784 "progressId": {
1785 "type": "string",
-
E501
Line too long (211 > 79 characters)
1786 "description": "An ID that must be used in subsequent 'progressUpdate' and 'progressEnd' events to make them refer to the same progress reporting.\nIDs must be unique within a debug session."
1787 },
1788 "title": {
1789 "type": "string",
-
E501
Line too long (143 > 79 characters)
1790 "description": "Mandatory (short) title of the progress reporting. Shown in the UI to describe the long running operation."
1791 },
1792 "requestId": {
1793 "type": "integer",
-
E501
Line too long (368 > 79 characters)
1794 "description": "The request ID that this progress report is related to. If specified a debug adapter is expected to emit\nprogress events for the long running request until the request has been either completed or cancelled.\nIf the request ID is omitted, the progress report is assumed to be related to some general activity of the debug adapter."
1795 },
1796 "cancellable": {
1797 "type": "boolean",
-
E501
Line too long (294 > 79 characters)
1798 "description": "If true, the request that reports progress may be canceled with a 'cancel' request.\nSo this property basically controls whether the client should use UX that supports cancellation.\nClients that don't support cancellation are allowed to ignore the setting."
1799 },
1800 "message": {
1801 "type": "string",
1802 "description": "Optional, more detailed progress message."
1803 },
1804 "percentage": {
1805 "type": "number",
-
E501
Line too long (141 > 79 characters)
1806 "description": "Optional progress percentage to display (value range: 0 to 100). If omitted no percentage will be shown."
1807 }
1808 },
1809 "required": [
1810 "progressId",
1811 "title"
1812 ]
1813 }
1814 }
1815 __refs__ = set(['body'])
1816
1817 __slots__ = list(__props__.keys()) + ['kwargs']
1818
1819 def __init__(self, body, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
1820 """
1822 :param string event:
1823 :param ProgressStartEventBody body:
-
E501
Line too long (154 > 79 characters)
1824 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
1825 """
1826 self.type = 'event'
1827 self.event = 'progressStart'
1828 if body is None:
1829 self.body = ProgressStartEventBody()
1830 else:
-
E501
Line too long (150 > 79 characters)
-
E222
Multiple spaces after operator
1831 self.body = ProgressStartEventBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != ProgressStartEventBody else body
1832 self.seq = seq
1833 self.kwargs = kwargs
1834
1835
1836 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
1837 type = self.type # noqa (assign to builtin)
1838 event = self.event
1839 body = self.body
1840 seq = self.seq
1841 dct = {
1842 'type': type,
1843 'event': event,
1844 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
1845 'seq': seq,
1846 }
1847 dct.update(self.kwargs)
1848 return dct
1849
1850
1851 @register_event('progressUpdate')
1852 @register
1853 class ProgressUpdateEvent(BaseSchema):
1854 """
-
E501
Line too long (104 > 79 characters)
1855 The event signals that the progress reporting needs to updated with a new message and/or percentage.
-
W293
Blank line contains whitespace
1856
-
E501
Line too long (101 > 79 characters)
1857 The client does not have to update the UI immediately, but the clients needs to keep track of the
1858 message and/or percentage values.
-
W293
Blank line contains whitespace
1859
-
E501
Line too long (82 > 79 characters)
1860 This event should only be sent if the client has passed the value true for the
1861 'supportsProgressReporting' capability of the 'initialize' request.
1862
1863 Note: automatically generated code. Do not edit manually.
1864 """
1865
1866 __props__ = {
1867 "seq": {
1868 "type": "integer",
-
E501
Line too long (155 > 79 characters)
1869 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
1870 },
1871 "type": {
1872 "type": "string",
1873 "enum": [
1874 "event"
1875 ]
1876 },
1877 "event": {
1878 "type": "string",
1879 "enum": [
1880 "progressUpdate"
1881 ]
1882 },
1883 "body": {
1884 "type": "object",
1885 "properties": {
1886 "progressId": {
1887 "type": "string",
-
E501
Line too long (101 > 79 characters)
1888 "description": "The ID that was introduced in the initial 'progressStart' event."
1889 },
1890 "message": {
1891 "type": "string",
-
E501
Line too long (129 > 79 characters)
1892 "description": "Optional, more detailed progress message. If omitted, the previous message (if any) is used."
1893 },
1894 "percentage": {
1895 "type": "number",
-
E501
Line too long (141 > 79 characters)
1896 "description": "Optional progress percentage to display (value range: 0 to 100). If omitted no percentage will be shown."
1897 }
1898 },
1899 "required": [
1900 "progressId"
1901 ]
1902 }
1903 }
1904 __refs__ = set(['body'])
1905
1906 __slots__ = list(__props__.keys()) + ['kwargs']
1907
1908 def __init__(self, body, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
1909 """
1911 :param string event:
1912 :param ProgressUpdateEventBody body:
-
E501
Line too long (154 > 79 characters)
1913 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
1914 """
1915 self.type = 'event'
1916 self.event = 'progressUpdate'
1917 if body is None:
1918 self.body = ProgressUpdateEventBody()
1919 else:
-
E501
Line too long (152 > 79 characters)
-
E222
Multiple spaces after operator
1920 self.body = ProgressUpdateEventBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != ProgressUpdateEventBody else body
1921 self.seq = seq
1922 self.kwargs = kwargs
1923
1924
1925 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
1926 type = self.type # noqa (assign to builtin)
1927 event = self.event
1928 body = self.body
1929 seq = self.seq
1930 dct = {
1931 'type': type,
1932 'event': event,
1933 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
1934 'seq': seq,
1935 }
1936 dct.update(self.kwargs)
1937 return dct
1938
1939
1940 @register_event('progressEnd')
1941 @register
1942 class ProgressEndEvent(BaseSchema):
1943 """
-
E501
Line too long (87 > 79 characters)
1944 The event signals the end of the progress reporting with an optional final message.
-
W293
Blank line contains whitespace
1945
-
E501
Line too long (82 > 79 characters)
1946 This event should only be sent if the client has passed the value true for the
1947 'supportsProgressReporting' capability of the 'initialize' request.
1948
1949 Note: automatically generated code. Do not edit manually.
1950 """
1951
1952 __props__ = {
1953 "seq": {
1954 "type": "integer",
-
E501
Line too long (155 > 79 characters)
1955 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
1956 },
1957 "type": {
1958 "type": "string",
1959 "enum": [
1960 "event"
1961 ]
1962 },
1963 "event": {
1964 "type": "string",
1965 "enum": [
1966 "progressEnd"
1967 ]
1968 },
1969 "body": {
1970 "type": "object",
1971 "properties": {
1972 "progressId": {
1973 "type": "string",
-
E501
Line too long (100 > 79 characters)
1974 "description": "The ID that was introduced in the initial 'ProgressStartEvent'."
1975 },
1976 "message": {
1977 "type": "string",
-
E501
Line too long (129 > 79 characters)
1978 "description": "Optional, more detailed progress message. If omitted, the previous message (if any) is used."
1979 }
1980 },
1981 "required": [
1982 "progressId"
1983 ]
1984 }
1985 }
1986 __refs__ = set(['body'])
1987
1988 __slots__ = list(__props__.keys()) + ['kwargs']
1989
1990 def __init__(self, body, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
1991 """
1993 :param string event:
1994 :param ProgressEndEventBody body:
-
E501
Line too long (154 > 79 characters)
1995 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
1996 """
1997 self.type = 'event'
1998 self.event = 'progressEnd'
1999 if body is None:
2000 self.body = ProgressEndEventBody()
2001 else:
-
E501
Line too long (146 > 79 characters)
-
E222
Multiple spaces after operator
2002 self.body = ProgressEndEventBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != ProgressEndEventBody else body
2003 self.seq = seq
2004 self.kwargs = kwargs
2005
2006
2007 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
2008 type = self.type # noqa (assign to builtin)
2009 event = self.event
2010 body = self.body
2011 seq = self.seq
2012 dct = {
2013 'type': type,
2014 'event': event,
2015 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
2016 'seq': seq,
2017 }
2018 dct.update(self.kwargs)
2019 return dct
2020
2021
2022 @register_event('invalidated')
2023 @register
2024 class InvalidatedEvent(BaseSchema):
2025 """
-
E501
Line too long (100 > 79 characters)
2026 This event signals that some state in the debug adapter has changed and requires that the client
2027 needs to re-render the data snapshot previously requested.
-
W293
Blank line contains whitespace
2028
-
E501
Line too long (99 > 79 characters)
2029 Debug adapters do not have to emit this event for runtime changes like stopped or thread events
-
E501
Line too long (97 > 79 characters)
2030 because in that case the client refetches the new state anyway. But the event can be used for
-
E501
Line too long (90 > 79 characters)
2031 example to refresh the UI after rendering formatting has changed in the debug adapter.
-
W293
Blank line contains whitespace
2032
-
E501
Line too long (89 > 79 characters)
2033 This event should only be sent if the debug adapter has received a value true for the
2034 'supportsInvalidatedEvent' capability of the 'initialize' request.
2035
2036 Note: automatically generated code. Do not edit manually.
2037 """
2038
2039 __props__ = {
2040 "seq": {
2041 "type": "integer",
-
E501
Line too long (155 > 79 characters)
2042 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
2043 },
2044 "type": {
2045 "type": "string",
2046 "enum": [
2047 "event"
2048 ]
2049 },
2050 "event": {
2051 "type": "string",
2052 "enum": [
2053 "invalidated"
2054 ]
2055 },
2056 "body": {
2057 "type": "object",
2058 "properties": {
2059 "areas": {
2060 "type": "array",
-
E501
Line too long (351 > 79 characters)
2061 "description": "Optional set of logical areas that got invalidated. This property has a hint characteristic: a client can only be expected to make a 'best effort' in honouring the areas but there are no guarantees. If this property is missing, empty, or if values are not understand the client should assume a single value 'all'.",
2062 "items": {
2063 "$ref": "#/definitions/InvalidatedAreas"
2064 }
2065 },
2066 "threadId": {
2067 "type": "integer",
-
E501
Line too long (112 > 79 characters)
2068 "description": "If specified, the client only needs to refetch data related to this thread."
2069 },
2070 "stackFrameId": {
2071 "type": "integer",
-
E501
Line too long (149 > 79 characters)
2072 "description": "If specified, the client only needs to refetch data related to this stack frame (and the 'threadId' is ignored)."
2073 }
2074 }
2075 }
2076 }
2077 __refs__ = set(['body'])
2078
2079 __slots__ = list(__props__.keys()) + ['kwargs']
2080
2081 def __init__(self, body, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
2082 """
2084 :param string event:
2085 :param InvalidatedEventBody body:
-
E501
Line too long (154 > 79 characters)
2086 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
2087 """
2088 self.type = 'event'
2089 self.event = 'invalidated'
2090 if body is None:
2091 self.body = InvalidatedEventBody()
2092 else:
-
E501
Line too long (146 > 79 characters)
-
E222
Multiple spaces after operator
2093 self.body = InvalidatedEventBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != InvalidatedEventBody else body
2094 self.seq = seq
2095 self.kwargs = kwargs
2096
2097
2098 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
2099 type = self.type # noqa (assign to builtin)
2100 event = self.event
2101 body = self.body
2102 seq = self.seq
2103 dct = {
2104 'type': type,
2105 'event': event,
2106 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
2107 'seq': seq,
2108 }
2109 dct.update(self.kwargs)
2110 return dct
2111
2112
2113 @register_request('runInTerminal')
2114 @register
2115 class RunInTerminalRequest(BaseSchema):
2116 """
-
E501
Line too long (102 > 79 characters)
2117 This optional request is sent from the debug adapter to the client to run a command in a terminal.
-
W293
Blank line contains whitespace
2118
-
E501
Line too long (87 > 79 characters)
2119 This is typically used to launch the debuggee in a terminal provided by the client.
-
W293
Blank line contains whitespace
2120
-
E501
Line too long (86 > 79 characters)
2121 This request should only be called if the client has passed the value true for the
2122 'supportsRunInTerminalRequest' capability of the 'initialize' request.
2123
2124 Note: automatically generated code. Do not edit manually.
2125 """
2126
2127 __props__ = {
2128 "seq": {
2129 "type": "integer",
-
E501
Line too long (155 > 79 characters)
2130 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
2131 },
2132 "type": {
2133 "type": "string",
2134 "enum": [
2135 "request"
2136 ]
2137 },
2138 "command": {
2139 "type": "string",
2140 "enum": [
2141 "runInTerminal"
2142 ]
2143 },
2144 "arguments": {
2145 "type": "RunInTerminalRequestArguments"
2146 }
2147 }
2148 __refs__ = set(['arguments'])
2149
2150 __slots__ = list(__props__.keys()) + ['kwargs']
2151
2152 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
2153 """
2155 :param string command:
2156 :param RunInTerminalRequestArguments arguments:
-
E501
Line too long (154 > 79 characters)
2157 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
2158 """
2159 self.type = 'request'
2160 self.command = 'runInTerminal'
2161 if arguments is None:
2162 self.arguments = RunInTerminalRequestArguments()
2163 else:
-
E501
Line too long (184 > 79 characters)
-
E222
Multiple spaces after operator
2164 self.arguments = RunInTerminalRequestArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != RunInTerminalRequestArguments else arguments
2165 self.seq = seq
2166 self.kwargs = kwargs
2167
2168
2169 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
2170 type = self.type # noqa (assign to builtin)
2171 command = self.command
2172 arguments = self.arguments
2173 seq = self.seq
2174 dct = {
2175 'type': type,
2176 'command': command,
-
E501
Line too long (80 > 79 characters)
2177 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
2178 'seq': seq,
2179 }
2180 dct.update(self.kwargs)
2181 return dct
2182
2183
2184 @register
2185 class RunInTerminalRequestArguments(BaseSchema):
2186 """
2187 Arguments for 'runInTerminal' request.
2188
2189 Note: automatically generated code. Do not edit manually.
2190 """
2191
2192 __props__ = {
2193 "kind": {
2194 "type": "string",
2195 "enum": [
2196 "integrated",
2197 "external"
2198 ],
2199 "description": "What kind of terminal to launch."
2200 },
2201 "title": {
2202 "type": "string",
2203 "description": "Optional title of the terminal."
2204 },
2205 "cwd": {
2206 "type": "string",
-
E501
Line too long (157 > 79 characters)
2207 "description": "Working directory for the command. For non-empty, valid paths this typically results in execution of a change directory command."
2208 },
2209 "args": {
2210 "type": "array",
2211 "items": {
2212 "type": "string"
2213 },
-
E501
Line too long (89 > 79 characters)
2214 "description": "List of arguments. The first argument is the command to run."
2215 },
2216 "env": {
2217 "type": "object",
-
E501
Line too long (116 > 79 characters)
2218 "description": "Environment key-value pairs that are added to or removed from the default environment.",
2219 "additionalProperties": {
2220 "type": [
2221 "string",
2222 "null"
2223 ],
-
E501
Line too long (124 > 79 characters)
2224 "description": "Proper values must be strings. A value of 'null' removes the variable from the environment."
2225 }
2226 }
2227 }
2228 __refs__ = set(['env'])
2229
2230 __slots__ = list(__props__.keys()) + ['kwargs']
2231
2232 def __init__(self, cwd, args, kind=None, title=None, env=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
2233 """
-
E501
Line too long (155 > 79 characters)
2234 :param string cwd: Working directory for the command. For non-empty, valid paths this typically results in execution of a change directory command.
-
E501
Line too long (87 > 79 characters)
2235 :param array args: List of arguments. The first argument is the command to run.
2236 :param string kind: What kind of terminal to launch.
2237 :param string title: Optional title of the terminal.
-
E501
Line too long (139 > 79 characters)
2238 :param RunInTerminalRequestArgumentsEnv env: Environment key-value pairs that are added to or removed from the default environment.
2239 """
2240 self.cwd = cwd
2241 self.args = args
2242 self.kind = kind
2243 self.title = title
2244 if env is None:
2245 self.env = RunInTerminalRequestArgumentsEnv()
2246 else:
-
E501
Line too long (166 > 79 characters)
-
E222
Multiple spaces after operator
2247 self.env = RunInTerminalRequestArgumentsEnv(update_ids_from_dap=update_ids_from_dap, **env) if env.__class__ != RunInTerminalRequestArgumentsEnv else env
2248 self.kwargs = kwargs
2249
2250
2251 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
2252 cwd = self.cwd
2253 args = self.args
2254 if args and hasattr(args[0], "to_dict"):
2255 args = [x.to_dict() for x in args]
2256 kind = self.kind
2257 title = self.title
2258 env = self.env
2259 dct = {
2260 'cwd': cwd,
2261 'args': args,
2262 }
2263 if kind is not None:
2264 dct['kind'] = kind
2265 if title is not None:
2266 dct['title'] = title
2267 if env is not None:
2268 dct['env'] = env.to_dict(update_ids_to_dap=update_ids_to_dap)
2269 dct.update(self.kwargs)
2270 return dct
2271
2272
2273 @register_response('runInTerminal')
2274 @register
2275 class RunInTerminalResponse(BaseSchema):
2276 """
2277 Response to 'runInTerminal' request.
2278
2279 Note: automatically generated code. Do not edit manually.
2280 """
2281
2282 __props__ = {
2283 "seq": {
2284 "type": "integer",
-
E501
Line too long (155 > 79 characters)
2285 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
2286 },
2287 "type": {
2288 "type": "string",
2289 "enum": [
2290 "response"
2291 ]
2292 },
2293 "request_seq": {
2294 "type": "integer",
2295 "description": "Sequence number of the corresponding request."
2296 },
2297 "success": {
2298 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
2299 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
2300 },
2301 "command": {
2302 "type": "string",
2303 "description": "The command requested."
2304 },
2305 "message": {
2306 "type": "string",
-
E501
Line too long (201 > 79 characters)
2307 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
2308 "_enum": [
2309 "cancelled"
2310 ],
2311 "enumDescriptions": [
2312 "request was cancelled."
2313 ]
2314 },
2315 "body": {
2316 "type": "object",
2317 "properties": {
2318 "processId": {
2319 "type": "integer",
-
E501
Line too long (115 > 79 characters)
2320 "description": "The process ID. The value should be less than or equal to 2147483647 (2^31-1)."
2321 },
2322 "shellProcessId": {
2323 "type": "integer",
-
E501
Line too long (137 > 79 characters)
2324 "description": "The process ID of the terminal shell. The value should be less than or equal to 2147483647 (2^31-1)."
2325 }
2326 }
2327 }
2328 }
2329 __refs__ = set(['body'])
2330
2331 __slots__ = list(__props__.keys()) + ['kwargs']
2332
2333 def __init__(self, request_seq, success, command, body, seq=-1, message=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
2334 """
-
E501
Line too long (81 > 79 characters)
2336 :param integer request_seq: Sequence number of the corresponding request.
2337 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
2338 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
2339 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
2340 :param string command: The command requested.
2341 :param RunInTerminalResponseBody body:
-
E501
Line too long (154 > 79 characters)
2342 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
2343 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
2344 This raw error might be interpreted by the frontend and is not shown in the UI.
2345 Some predefined values exist.
2346 """
2347 self.type = 'response'
2348 self.request_seq = request_seq
2349 self.success = success
2350 self.command = command
2351 if body is None:
2352 self.body = RunInTerminalResponseBody()
2353 else:
-
E501
Line too long (156 > 79 characters)
-
E222
Multiple spaces after operator
2354 self.body = RunInTerminalResponseBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != RunInTerminalResponseBody else body
2355 self.seq = seq
2356 self.message = message
2357 self.kwargs = kwargs
2358
2359
2360 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
2361 type = self.type # noqa (assign to builtin)
2362 request_seq = self.request_seq
2363 success = self.success
2364 command = self.command
2365 body = self.body
2366 seq = self.seq
2367 message = self.message
2368 dct = {
2369 'type': type,
2370 'request_seq': request_seq,
2371 'success': success,
2372 'command': command,
2373 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
2374 'seq': seq,
2375 }
2376 if message is not None:
2377 dct['message'] = message
2378 dct.update(self.kwargs)
2379 return dct
2380
2381
2382 @register_request('initialize')
2383 @register
2384 class InitializeRequest(BaseSchema):
2385 """
-
E501
Line too long (94 > 79 characters)
2386 The 'initialize' request is sent as the first request from the client to the debug adapter
-
W293
Blank line contains whitespace
2387
-
E501
Line too long (97 > 79 characters)
2388 in order to configure it with client capabilities and to retrieve capabilities from the debug
2389 adapter.
-
W293
Blank line contains whitespace
2390
-
E501
Line too long (104 > 79 characters)
2391 Until the debug adapter has responded to with an 'initialize' response, the client must not send any
2392 additional requests or events to the debug adapter.
-
W293
Blank line contains whitespace
2393
-
E501
Line too long (102 > 79 characters)
2394 In addition the debug adapter is not allowed to send any requests or events to the client until it
2395 has responded with an 'initialize' response.
-
W293
Blank line contains whitespace
2396
2397 The 'initialize' request may only be sent once.
2398
2399 Note: automatically generated code. Do not edit manually.
2400 """
2401
2402 __props__ = {
2403 "seq": {
2404 "type": "integer",
-
E501
Line too long (155 > 79 characters)
2405 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
2406 },
2407 "type": {
2408 "type": "string",
2409 "enum": [
2410 "request"
2411 ]
2412 },
2413 "command": {
2414 "type": "string",
2415 "enum": [
2416 "initialize"
2417 ]
2418 },
2419 "arguments": {
2420 "type": "InitializeRequestArguments"
2421 }
2422 }
2423 __refs__ = set(['arguments'])
2424
2425 __slots__ = list(__props__.keys()) + ['kwargs']
2426
2427 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
2428 """
2430 :param string command:
2431 :param InitializeRequestArguments arguments:
-
E501
Line too long (154 > 79 characters)
2432 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
2433 """
2434 self.type = 'request'
2435 self.command = 'initialize'
2436 if arguments is None:
2437 self.arguments = InitializeRequestArguments()
2438 else:
-
E501
Line too long (178 > 79 characters)
-
E222
Multiple spaces after operator
2439 self.arguments = InitializeRequestArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != InitializeRequestArguments else arguments
2440 self.seq = seq
2441 self.kwargs = kwargs
2442
2443
2444 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
2445 type = self.type # noqa (assign to builtin)
2446 command = self.command
2447 arguments = self.arguments
2448 seq = self.seq
2449 dct = {
2450 'type': type,
2451 'command': command,
-
E501
Line too long (80 > 79 characters)
2452 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
2453 'seq': seq,
2454 }
2455 dct.update(self.kwargs)
2456 return dct
2457
2458
2459 @register
2460 class InitializeRequestArguments(BaseSchema):
2461 """
2462 Arguments for 'initialize' request.
2463
2464 Note: automatically generated code. Do not edit manually.
2465 """
2466
2467 __props__ = {
2468 "clientID": {
2469 "type": "string",
-
E501
Line too long (80 > 79 characters)
2470 "description": "The ID of the (frontend) client using this adapter."
2471 },
2472 "clientName": {
2473 "type": "string",
-
E501
Line too long (97 > 79 characters)
2474 "description": "The human readable name of the (frontend) client using this adapter."
2475 },
2476 "adapterID": {
2477 "type": "string",
2478 "description": "The ID of the debug adapter."
2479 },
2480 "locale": {
2481 "type": "string",
-
E501
Line too long (113 > 79 characters)
2482 "description": "The ISO-639 locale of the (frontend) client using this adapter, e.g. en-US or de-CH."
2483 },
2484 "linesStartAt1": {
2485 "type": "boolean",
2486 "description": "If true all line numbers are 1-based (default)."
2487 },
2488 "columnsStartAt1": {
2489 "type": "boolean",
2490 "description": "If true all column numbers are 1-based (default)."
2491 },
2492 "pathFormat": {
2493 "type": "string",
2494 "_enum": [
2495 "path",
2496 "uri"
2497 ],
-
E501
Line too long (126 > 79 characters)
2498 "description": "Determines in what format paths are specified. The default is 'path', which is the native format."
2499 },
2500 "supportsVariableType": {
2501 "type": "boolean",
-
E501
Line too long (87 > 79 characters)
2502 "description": "Client supports the optional type attribute for variables."
2503 },
2504 "supportsVariablePaging": {
2505 "type": "boolean",
2506 "description": "Client supports the paging of variables."
2507 },
2508 "supportsRunInTerminalRequest": {
2509 "type": "boolean",
2510 "description": "Client supports the runInTerminal request."
2511 },
2512 "supportsMemoryReferences": {
2513 "type": "boolean",
2514 "description": "Client supports memory references."
2515 },
2516 "supportsProgressReporting": {
2517 "type": "boolean",
2518 "description": "Client supports progress reporting."
2519 },
2520 "supportsInvalidatedEvent": {
2521 "type": "boolean",
2522 "description": "Client supports the invalidated event."
2523 }
2524 }
2525 __refs__ = set()
2526
2527 __slots__ = list(__props__.keys()) + ['kwargs']
2528
2529 def __init__(self, adapterID, clientID=None, clientName=None, locale=None, linesStartAt1=None, columnsStartAt1=None, pathFormat=None, supportsVariableType=None, supportsVariablePaging=None, supportsRunInTerminalRequest=None, supportsMemoryReferences=None, supportsProgressReporting=None, supportsInvalidatedEvent=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
2530 """
2531 :param string adapterID: The ID of the debug adapter.
-
E501
Line too long (83 > 79 characters)
2532 :param string clientID: The ID of the (frontend) client using this adapter.
-
E501
Line too long (102 > 79 characters)
2533 :param string clientName: The human readable name of the (frontend) client using this adapter.
-
E501
Line too long (114 > 79 characters)
2534 :param string locale: The ISO-639 locale of the (frontend) client using this adapter, e.g. en-US or de-CH.
-
E501
Line too long (85 > 79 characters)
2535 :param boolean linesStartAt1: If true all line numbers are 1-based (default).
-
E501
Line too long (89 > 79 characters)
2536 :param boolean columnsStartAt1: If true all column numbers are 1-based (default).
-
E501
Line too long (131 > 79 characters)
2537 :param string pathFormat: Determines in what format paths are specified. The default is 'path', which is the native format.
-
E501
Line too long (103 > 79 characters)
2538 :param boolean supportsVariableType: Client supports the optional type attribute for variables.
-
E501
Line too long (87 > 79 characters)
2539 :param boolean supportsVariablePaging: Client supports the paging of variables.
-
E501
Line too long (95 > 79 characters)
2540 :param boolean supportsRunInTerminalRequest: Client supports the runInTerminal request.
-
E501
Line too long (83 > 79 characters)
2541 :param boolean supportsMemoryReferences: Client supports memory references.
-
E501
Line too long (85 > 79 characters)
2542 :param boolean supportsProgressReporting: Client supports progress reporting.
-
E501
Line too long (87 > 79 characters)
2543 :param boolean supportsInvalidatedEvent: Client supports the invalidated event.
2544 """
2545 self.adapterID = adapterID
2546 self.clientID = clientID
2547 self.clientName = clientName
2548 self.locale = locale
2549 self.linesStartAt1 = linesStartAt1
2550 self.columnsStartAt1 = columnsStartAt1
2551 self.pathFormat = pathFormat
2552 self.supportsVariableType = supportsVariableType
2553 self.supportsVariablePaging = supportsVariablePaging
2554 self.supportsRunInTerminalRequest = supportsRunInTerminalRequest
2555 self.supportsMemoryReferences = supportsMemoryReferences
2556 self.supportsProgressReporting = supportsProgressReporting
2557 self.supportsInvalidatedEvent = supportsInvalidatedEvent
2558 self.kwargs = kwargs
2559
2560
2561 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
2562 adapterID = self.adapterID
2563 clientID = self.clientID
2564 clientName = self.clientName
2565 locale = self.locale
2566 linesStartAt1 = self.linesStartAt1
2567 columnsStartAt1 = self.columnsStartAt1
2568 pathFormat = self.pathFormat
2569 supportsVariableType = self.supportsVariableType
2570 supportsVariablePaging = self.supportsVariablePaging
2571 supportsRunInTerminalRequest = self.supportsRunInTerminalRequest
2572 supportsMemoryReferences = self.supportsMemoryReferences
2573 supportsProgressReporting = self.supportsProgressReporting
2574 supportsInvalidatedEvent = self.supportsInvalidatedEvent
2575 dct = {
2576 'adapterID': adapterID,
2577 }
2578 if clientID is not None:
2579 dct['clientID'] = clientID
2580 if clientName is not None:
2581 dct['clientName'] = clientName
2582 if locale is not None:
2583 dct['locale'] = locale
2584 if linesStartAt1 is not None:
2585 dct['linesStartAt1'] = linesStartAt1
2586 if columnsStartAt1 is not None:
2587 dct['columnsStartAt1'] = columnsStartAt1
2588 if pathFormat is not None:
2589 dct['pathFormat'] = pathFormat
2590 if supportsVariableType is not None:
2591 dct['supportsVariableType'] = supportsVariableType
2592 if supportsVariablePaging is not None:
2593 dct['supportsVariablePaging'] = supportsVariablePaging
2594 if supportsRunInTerminalRequest is not None:
2595 dct['supportsRunInTerminalRequest'] = supportsRunInTerminalRequest
2596 if supportsMemoryReferences is not None:
2597 dct['supportsMemoryReferences'] = supportsMemoryReferences
2598 if supportsProgressReporting is not None:
2599 dct['supportsProgressReporting'] = supportsProgressReporting
2600 if supportsInvalidatedEvent is not None:
2601 dct['supportsInvalidatedEvent'] = supportsInvalidatedEvent
2602 dct.update(self.kwargs)
2603 return dct
2604
2605
2606 @register_response('initialize')
2607 @register
2608 class InitializeResponse(BaseSchema):
2609 """
2610 Response to 'initialize' request.
2611
2612 Note: automatically generated code. Do not edit manually.
2613 """
2614
2615 __props__ = {
2616 "seq": {
2617 "type": "integer",
-
E501
Line too long (155 > 79 characters)
2618 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
2619 },
2620 "type": {
2621 "type": "string",
2622 "enum": [
2623 "response"
2624 ]
2625 },
2626 "request_seq": {
2627 "type": "integer",
2628 "description": "Sequence number of the corresponding request."
2629 },
2630 "success": {
2631 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
2632 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
2633 },
2634 "command": {
2635 "type": "string",
2636 "description": "The command requested."
2637 },
2638 "message": {
2639 "type": "string",
-
E501
Line too long (201 > 79 characters)
2640 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
2641 "_enum": [
2642 "cancelled"
2643 ],
2644 "enumDescriptions": [
2645 "request was cancelled."
2646 ]
2647 },
2648 "body": {
2649 "description": "The capabilities of this debug adapter.",
2650 "type": "Capabilities"
2651 }
2652 }
2653 __refs__ = set(['body'])
2654
2655 __slots__ = list(__props__.keys()) + ['kwargs']
2656
2657 def __init__(self, request_seq, success, command, seq=-1, message=None, body=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
2658 """
-
E501
Line too long (81 > 79 characters)
2660 :param integer request_seq: Sequence number of the corresponding request.
2661 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
2662 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
2663 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
2664 :param string command: The command requested.
-
E501
Line too long (154 > 79 characters)
2665 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
2666 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
2667 This raw error might be interpreted by the frontend and is not shown in the UI.
2668 Some predefined values exist.
2669 :param Capabilities body: The capabilities of this debug adapter.
2670 """
2671 self.type = 'response'
2672 self.request_seq = request_seq
2673 self.success = success
2674 self.command = command
2675 self.seq = seq
2676 self.message = message
2677 if body is None:
2678 self.body = Capabilities()
2679 else:
-
E501
Line too long (130 > 79 characters)
-
E222
Multiple spaces after operator
2680 self.body = Capabilities(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != Capabilities else body
2681 self.kwargs = kwargs
2682
2683
2684 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
2685 type = self.type # noqa (assign to builtin)
2686 request_seq = self.request_seq
2687 success = self.success
2688 command = self.command
2689 seq = self.seq
2690 message = self.message
2691 body = self.body
2692 dct = {
2693 'type': type,
2694 'request_seq': request_seq,
2695 'success': success,
2696 'command': command,
2697 'seq': seq,
2698 }
2699 if message is not None:
2700 dct['message'] = message
2701 if body is not None:
2702 dct['body'] = body.to_dict(update_ids_to_dap=update_ids_to_dap)
2703 dct.update(self.kwargs)
2704 return dct
2705
2706
2707 @register_request('configurationDone')
2708 @register
2709 class ConfigurationDoneRequest(BaseSchema):
2710 """
-
E501
Line too long (101 > 79 characters)
2711 This optional request indicates that the client has finished initialization of the debug adapter.
-
W293
Blank line contains whitespace
2712
-
E501
Line too long (97 > 79 characters)
2713 So it is the last request in the sequence of configuration requests (which was started by the
2714 'initialized' event).
-
W293
Blank line contains whitespace
2715
-
E501
Line too long (103 > 79 characters)
2716 Clients should only call this request if the capability 'supportsConfigurationDoneRequest' is true.
2717
2718 Note: automatically generated code. Do not edit manually.
2719 """
2720
2721 __props__ = {
2722 "seq": {
2723 "type": "integer",
-
E501
Line too long (155 > 79 characters)
2724 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
2725 },
2726 "type": {
2727 "type": "string",
2728 "enum": [
2729 "request"
2730 ]
2731 },
2732 "command": {
2733 "type": "string",
2734 "enum": [
2735 "configurationDone"
2736 ]
2737 },
2738 "arguments": {
2739 "type": "ConfigurationDoneArguments"
2740 }
2741 }
2742 __refs__ = set(['arguments'])
2743
2744 __slots__ = list(__props__.keys()) + ['kwargs']
2745
2746 def __init__(self, seq=-1, arguments=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
2747 """
2749 :param string command:
-
E501
Line too long (154 > 79 characters)
2750 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
2751 :param ConfigurationDoneArguments arguments:
2752 """
2753 self.type = 'request'
2754 self.command = 'configurationDone'
2755 self.seq = seq
2756 if arguments is None:
2757 self.arguments = ConfigurationDoneArguments()
2758 else:
-
E501
Line too long (178 > 79 characters)
-
E222
Multiple spaces after operator
2759 self.arguments = ConfigurationDoneArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != ConfigurationDoneArguments else arguments
2760 self.kwargs = kwargs
2761
2762
2763 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
2764 type = self.type # noqa (assign to builtin)
2765 command = self.command
2766 seq = self.seq
2767 arguments = self.arguments
2768 dct = {
2769 'type': type,
2770 'command': command,
2771 'seq': seq,
2772 }
2773 if arguments is not None:
-
E501
Line too long (85 > 79 characters)
2774 dct['arguments'] = arguments.to_dict(update_ids_to_dap=update_ids_to_dap)
2775 dct.update(self.kwargs)
2776 return dct
2777
2778
2779 @register
2780 class ConfigurationDoneArguments(BaseSchema):
2781 """
2782 Arguments for 'configurationDone' request.
2783
2784 Note: automatically generated code. Do not edit manually.
2785 """
2786
2787 __props__ = {}
2788 __refs__ = set()
2789
2790 __slots__ = list(__props__.keys()) + ['kwargs']
2791
2792 def __init__(self, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
2793 """
-
W293
Blank line contains whitespace
2794
2795 """
-
W293
Blank line contains whitespace
2796
2797 self.kwargs = kwargs
2798
2799
2800 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
2801 dct = {
2802 }
2803 dct.update(self.kwargs)
2804 return dct
2805
2806
2807 @register_response('configurationDone')
2808 @register
2809 class ConfigurationDoneResponse(BaseSchema):
2810 """
-
E501
Line too long (97 > 79 characters)
2811 Response to 'configurationDone' request. This is just an acknowledgement, so no body field is
2812 required.
2813
2814 Note: automatically generated code. Do not edit manually.
2815 """
2816
2817 __props__ = {
2818 "seq": {
2819 "type": "integer",
-
E501
Line too long (155 > 79 characters)
2820 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
2821 },
2822 "type": {
2823 "type": "string",
2824 "enum": [
2825 "response"
2826 ]
2827 },
2828 "request_seq": {
2829 "type": "integer",
2830 "description": "Sequence number of the corresponding request."
2831 },
2832 "success": {
2833 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
2834 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
2835 },
2836 "command": {
2837 "type": "string",
2838 "description": "The command requested."
2839 },
2840 "message": {
2841 "type": "string",
-
E501
Line too long (201 > 79 characters)
2842 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
2843 "_enum": [
2844 "cancelled"
2845 ],
2846 "enumDescriptions": [
2847 "request was cancelled."
2848 ]
2849 },
2850 "body": {
2851 "type": [
2852 "array",
2853 "boolean",
2854 "integer",
2855 "null",
2856 "number",
2857 "object",
2858 "string"
2859 ],
-
E501
Line too long (119 > 79 characters)
2860 "description": "Contains request result if success is true and optional error details if success is false."
2861 }
2862 }
2863 __refs__ = set()
2864
2865 __slots__ = list(__props__.keys()) + ['kwargs']
2866
2867 def __init__(self, request_seq, success, command, seq=-1, message=None, body=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
2868 """
-
E501
Line too long (81 > 79 characters)
2870 :param integer request_seq: Sequence number of the corresponding request.
2871 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
2872 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
2873 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
2874 :param string command: The command requested.
-
E501
Line too long (154 > 79 characters)
2875 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
2876 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
2877 This raw error might be interpreted by the frontend and is not shown in the UI.
2878 Some predefined values exist.
-
E501
Line too long (181 > 79 characters)
2879 :param ['array', 'boolean', 'integer', 'null', 'number', 'object', 'string'] body: Contains request result if success is true and optional error details if success is false.
2880 """
2881 self.type = 'response'
2882 self.request_seq = request_seq
2883 self.success = success
2884 self.command = command
2885 self.seq = seq
2886 self.message = message
2887 self.body = body
2888 self.kwargs = kwargs
2889
2890
2891 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
2892 type = self.type # noqa (assign to builtin)
2893 request_seq = self.request_seq
2894 success = self.success
2895 command = self.command
2896 seq = self.seq
2897 message = self.message
2898 body = self.body
2899 dct = {
2900 'type': type,
2901 'request_seq': request_seq,
2902 'success': success,
2903 'command': command,
2904 'seq': seq,
2905 }
2906 if message is not None:
2907 dct['message'] = message
2908 if body is not None:
2909 dct['body'] = body
2910 dct.update(self.kwargs)
2911 return dct
2912
2913
2914 @register_request('launch')
2915 @register
2916 class LaunchRequest(BaseSchema):
2917 """
-
E501
Line too long (98 > 79 characters)
2918 This launch request is sent from the client to the debug adapter to start the debuggee with or
2919 without debugging (if 'noDebug' is true).
-
W293
Blank line contains whitespace
2920
-
E501
Line too long (101 > 79 characters)
2921 Since launching is debugger/runtime specific, the arguments for this request are not part of this
2922 specification.
2923
2924 Note: automatically generated code. Do not edit manually.
2925 """
2926
2927 __props__ = {
2928 "seq": {
2929 "type": "integer",
-
E501
Line too long (155 > 79 characters)
2930 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
2931 },
2932 "type": {
2933 "type": "string",
2934 "enum": [
2935 "request"
2936 ]
2937 },
2938 "command": {
2939 "type": "string",
2940 "enum": [
2941 "launch"
2942 ]
2943 },
2944 "arguments": {
2945 "type": "LaunchRequestArguments"
2946 }
2947 }
2948 __refs__ = set(['arguments'])
2949
2950 __slots__ = list(__props__.keys()) + ['kwargs']
2951
2952 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
2953 """
2955 :param string command:
2956 :param LaunchRequestArguments arguments:
-
E501
Line too long (154 > 79 characters)
2957 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
2958 """
2959 self.type = 'request'
2960 self.command = 'launch'
2961 if arguments is None:
2962 self.arguments = LaunchRequestArguments()
2963 else:
-
E501
Line too long (170 > 79 characters)
-
E222
Multiple spaces after operator
2964 self.arguments = LaunchRequestArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != LaunchRequestArguments else arguments
2965 self.seq = seq
2966 self.kwargs = kwargs
2967
2968
2969 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
2970 type = self.type # noqa (assign to builtin)
2971 command = self.command
2972 arguments = self.arguments
2973 seq = self.seq
2974 dct = {
2975 'type': type,
2976 'command': command,
-
E501
Line too long (80 > 79 characters)
2977 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
2978 'seq': seq,
2979 }
2980 dct.update(self.kwargs)
2981 return dct
2982
2983
2984 @register
2985 class LaunchRequestArguments(BaseSchema):
2986 """
-
E501
Line too long (86 > 79 characters)
2987 Arguments for 'launch' request. Additional attributes are implementation specific.
2988
2989 Note: automatically generated code. Do not edit manually.
2990 """
2991
2992 __props__ = {
2993 "noDebug": {
2994 "type": "boolean",
-
E501
Line too long (120 > 79 characters)
2995 "description": "If noDebug is true the launch request should launch the program without enabling debugging."
2996 },
2997 "__restart": {
2998 "type": [
2999 "array",
3000 "boolean",
3001 "integer",
3002 "null",
3003 "number",
3004 "object",
3005 "string"
3006 ],
-
E501
Line too long (194 > 79 characters)
3007 "description": "Optional data from the previous, restarted session.\nThe data is sent as the 'restart' attribute of the 'terminated' event.\nThe client should leave the data intact."
3008 }
3009 }
3010 __refs__ = set()
3011
3012 __slots__ = list(__props__.keys()) + ['kwargs']
3013
3014 def __init__(self, noDebug=None, __restart=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
3015 """
-
E501
Line too long (123 > 79 characters)
3016 :param boolean noDebug: If noDebug is true the launch request should launch the program without enabling debugging.
-
E501
Line too long (147 > 79 characters)
3017 :param ['array', 'boolean', 'integer', 'null', 'number', 'object', 'string'] __restart: Optional data from the previous, restarted session.
3018 The data is sent as the 'restart' attribute of the 'terminated' event.
3019 The client should leave the data intact.
3020 """
3021 self.noDebug = noDebug
3022 self.__restart = __restart
3023 self.kwargs = kwargs
3024
3025
3026 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
3027 noDebug = self.noDebug
3028 __restart = self.__restart
3029 dct = {
3030 }
3031 if noDebug is not None:
3032 dct['noDebug'] = noDebug
3033 if __restart is not None:
3034 dct['__restart'] = __restart
3035 dct.update(self.kwargs)
3036 return dct
3037
3038
3039 @register_response('launch')
3040 @register
3041 class LaunchResponse(BaseSchema):
3042 """
-
E501
Line too long (96 > 79 characters)
3043 Response to 'launch' request. This is just an acknowledgement, so no body field is required.
3044
3045 Note: automatically generated code. Do not edit manually.
3046 """
3047
3048 __props__ = {
3049 "seq": {
3050 "type": "integer",
-
E501
Line too long (155 > 79 characters)
3051 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
3052 },
3053 "type": {
3054 "type": "string",
3055 "enum": [
3056 "response"
3057 ]
3058 },
3059 "request_seq": {
3060 "type": "integer",
3061 "description": "Sequence number of the corresponding request."
3062 },
3063 "success": {
3064 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
3065 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
3066 },
3067 "command": {
3068 "type": "string",
3069 "description": "The command requested."
3070 },
3071 "message": {
3072 "type": "string",
-
E501
Line too long (201 > 79 characters)
3073 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
3074 "_enum": [
3075 "cancelled"
3076 ],
3077 "enumDescriptions": [
3078 "request was cancelled."
3079 ]
3080 },
3081 "body": {
3082 "type": [
3083 "array",
3084 "boolean",
3085 "integer",
3086 "null",
3087 "number",
3088 "object",
3089 "string"
3090 ],
-
E501
Line too long (119 > 79 characters)
3091 "description": "Contains request result if success is true and optional error details if success is false."
3092 }
3093 }
3094 __refs__ = set()
3095
3096 __slots__ = list(__props__.keys()) + ['kwargs']
3097
3098 def __init__(self, request_seq, success, command, seq=-1, message=None, body=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
3099 """
-
E501
Line too long (81 > 79 characters)
3101 :param integer request_seq: Sequence number of the corresponding request.
3102 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
3103 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
3104 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
3105 :param string command: The command requested.
-
E501
Line too long (154 > 79 characters)
3106 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
3107 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
3108 This raw error might be interpreted by the frontend and is not shown in the UI.
3109 Some predefined values exist.
-
E501
Line too long (181 > 79 characters)
3110 :param ['array', 'boolean', 'integer', 'null', 'number', 'object', 'string'] body: Contains request result if success is true and optional error details if success is false.
3111 """
3112 self.type = 'response'
3113 self.request_seq = request_seq
3114 self.success = success
3115 self.command = command
3116 self.seq = seq
3117 self.message = message
3118 self.body = body
3119 self.kwargs = kwargs
3120
3121
3122 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
3123 type = self.type # noqa (assign to builtin)
3124 request_seq = self.request_seq
3125 success = self.success
3126 command = self.command
3127 seq = self.seq
3128 message = self.message
3129 body = self.body
3130 dct = {
3131 'type': type,
3132 'request_seq': request_seq,
3133 'success': success,
3134 'command': command,
3135 'seq': seq,
3136 }
3137 if message is not None:
3138 dct['message'] = message
3139 if body is not None:
3140 dct['body'] = body
3141 dct.update(self.kwargs)
3142 return dct
3143
3144
3145 @register_request('attach')
3146 @register
3147 class AttachRequest(BaseSchema):
3148 """
-
E501
Line too long (99 > 79 characters)
3149 The attach request is sent from the client to the debug adapter to attach to a debuggee that is
3150 already running.
-
W293
Blank line contains whitespace
3151
-
E501
Line too long (101 > 79 characters)
3152 Since attaching is debugger/runtime specific, the arguments for this request are not part of this
3153 specification.
3154
3155 Note: automatically generated code. Do not edit manually.
3156 """
3157
3158 __props__ = {
3159 "seq": {
3160 "type": "integer",
-
E501
Line too long (155 > 79 characters)
3161 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
3162 },
3163 "type": {
3164 "type": "string",
3165 "enum": [
3166 "request"
3167 ]
3168 },
3169 "command": {
3170 "type": "string",
3171 "enum": [
3172 "attach"
3173 ]
3174 },
3175 "arguments": {
3176 "type": "AttachRequestArguments"
3177 }
3178 }
3179 __refs__ = set(['arguments'])
3180
3181 __slots__ = list(__props__.keys()) + ['kwargs']
3182
3183 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
3184 """
3186 :param string command:
3187 :param AttachRequestArguments arguments:
-
E501
Line too long (154 > 79 characters)
3188 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
3189 """
3190 self.type = 'request'
3191 self.command = 'attach'
3192 if arguments is None:
3193 self.arguments = AttachRequestArguments()
3194 else:
-
E501
Line too long (170 > 79 characters)
-
E222
Multiple spaces after operator
3195 self.arguments = AttachRequestArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != AttachRequestArguments else arguments
3196 self.seq = seq
3197 self.kwargs = kwargs
3198
3199
3200 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
3201 type = self.type # noqa (assign to builtin)
3202 command = self.command
3203 arguments = self.arguments
3204 seq = self.seq
3205 dct = {
3206 'type': type,
3207 'command': command,
-
E501
Line too long (80 > 79 characters)
3208 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
3209 'seq': seq,
3210 }
3211 dct.update(self.kwargs)
3212 return dct
3213
3214
3215 @register
3216 class AttachRequestArguments(BaseSchema):
3217 """
-
E501
Line too long (86 > 79 characters)
3218 Arguments for 'attach' request. Additional attributes are implementation specific.
3219
3220 Note: automatically generated code. Do not edit manually.
3221 """
3222
3223 __props__ = {
3224 "__restart": {
3225 "type": [
3226 "array",
3227 "boolean",
3228 "integer",
3229 "null",
3230 "number",
3231 "object",
3232 "string"
3233 ],
-
E501
Line too long (194 > 79 characters)
3234 "description": "Optional data from the previous, restarted session.\nThe data is sent as the 'restart' attribute of the 'terminated' event.\nThe client should leave the data intact."
3235 }
3236 }
3237 __refs__ = set()
3238
3239 __slots__ = list(__props__.keys()) + ['kwargs']
3240
3241 def __init__(self, __restart=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
3242 """
-
E501
Line too long (147 > 79 characters)
3243 :param ['array', 'boolean', 'integer', 'null', 'number', 'object', 'string'] __restart: Optional data from the previous, restarted session.
3244 The data is sent as the 'restart' attribute of the 'terminated' event.
3245 The client should leave the data intact.
3246 """
3247 self.__restart = __restart
3248 self.kwargs = kwargs
3249
3250
3251 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
3252 __restart = self.__restart
3253 dct = {
3254 }
3255 if __restart is not None:
3256 dct['__restart'] = __restart
3257 dct.update(self.kwargs)
3258 return dct
3259
3260
3261 @register_response('attach')
3262 @register
3263 class AttachResponse(BaseSchema):
3264 """
-
E501
Line too long (96 > 79 characters)
3265 Response to 'attach' request. This is just an acknowledgement, so no body field is required.
3266
3267 Note: automatically generated code. Do not edit manually.
3268 """
3269
3270 __props__ = {
3271 "seq": {
3272 "type": "integer",
-
E501
Line too long (155 > 79 characters)
3273 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
3274 },
3275 "type": {
3276 "type": "string",
3277 "enum": [
3278 "response"
3279 ]
3280 },
3281 "request_seq": {
3282 "type": "integer",
3283 "description": "Sequence number of the corresponding request."
3284 },
3285 "success": {
3286 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
3287 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
3288 },
3289 "command": {
3290 "type": "string",
3291 "description": "The command requested."
3292 },
3293 "message": {
3294 "type": "string",
-
E501
Line too long (201 > 79 characters)
3295 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
3296 "_enum": [
3297 "cancelled"
3298 ],
3299 "enumDescriptions": [
3300 "request was cancelled."
3301 ]
3302 },
3303 "body": {
3304 "type": [
3305 "array",
3306 "boolean",
3307 "integer",
3308 "null",
3309 "number",
3310 "object",
3311 "string"
3312 ],
-
E501
Line too long (119 > 79 characters)
3313 "description": "Contains request result if success is true and optional error details if success is false."
3314 }
3315 }
3316 __refs__ = set()
3317
3318 __slots__ = list(__props__.keys()) + ['kwargs']
3319
3320 def __init__(self, request_seq, success, command, seq=-1, message=None, body=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
3321 """
-
E501
Line too long (81 > 79 characters)
3323 :param integer request_seq: Sequence number of the corresponding request.
3324 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
3325 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
3326 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
3327 :param string command: The command requested.
-
E501
Line too long (154 > 79 characters)
3328 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
3329 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
3330 This raw error might be interpreted by the frontend and is not shown in the UI.
3331 Some predefined values exist.
-
E501
Line too long (181 > 79 characters)
3332 :param ['array', 'boolean', 'integer', 'null', 'number', 'object', 'string'] body: Contains request result if success is true and optional error details if success is false.
3333 """
3334 self.type = 'response'
3335 self.request_seq = request_seq
3336 self.success = success
3337 self.command = command
3338 self.seq = seq
3339 self.message = message
3340 self.body = body
3341 self.kwargs = kwargs
3342
3343
3344 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
3345 type = self.type # noqa (assign to builtin)
3346 request_seq = self.request_seq
3347 success = self.success
3348 command = self.command
3349 seq = self.seq
3350 message = self.message
3351 body = self.body
3352 dct = {
3353 'type': type,
3354 'request_seq': request_seq,
3355 'success': success,
3356 'command': command,
3357 'seq': seq,
3358 }
3359 if message is not None:
3360 dct['message'] = message
3361 if body is not None:
3362 dct['body'] = body
3363 dct.update(self.kwargs)
3364 return dct
3365
3366
3367 @register_request('restart')
3368 @register
3369 class RestartRequest(BaseSchema):
3370 """
-
E501
Line too long (85 > 79 characters)
3371 Restarts a debug session. Clients should only call this request if the capability
3372 'supportsRestartRequest' is true.
-
W293
Blank line contains whitespace
3373
-
E501
Line too long (99 > 79 characters)
3374 If the capability is missing or has the value false, a typical client will emulate 'restart' by
3375 terminating the debug adapter first and then launching it anew.
3376
3377 Note: automatically generated code. Do not edit manually.
3378 """
3379
3380 __props__ = {
3381 "seq": {
3382 "type": "integer",
-
E501
Line too long (155 > 79 characters)
3383 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
3384 },
3385 "type": {
3386 "type": "string",
3387 "enum": [
3388 "request"
3389 ]
3390 },
3391 "command": {
3392 "type": "string",
3393 "enum": [
3394 "restart"
3395 ]
3396 },
3397 "arguments": {
3398 "type": "RestartArguments"
3399 }
3400 }
3401 __refs__ = set(['arguments'])
3402
3403 __slots__ = list(__props__.keys()) + ['kwargs']
3404
3405 def __init__(self, seq=-1, arguments=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
3406 """
3408 :param string command:
-
E501
Line too long (154 > 79 characters)
3409 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
3410 :param RestartArguments arguments:
3411 """
3412 self.type = 'request'
3413 self.command = 'restart'
3414 self.seq = seq
3415 if arguments is None:
3416 self.arguments = RestartArguments()
3417 else:
-
E501
Line too long (158 > 79 characters)
-
E222
Multiple spaces after operator
3418 self.arguments = RestartArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != RestartArguments else arguments
3419 self.kwargs = kwargs
3420
3421
3422 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
3423 type = self.type # noqa (assign to builtin)
3424 command = self.command
3425 seq = self.seq
3426 arguments = self.arguments
3427 dct = {
3428 'type': type,
3429 'command': command,
3430 'seq': seq,
3431 }
3432 if arguments is not None:
-
E501
Line too long (85 > 79 characters)
3433 dct['arguments'] = arguments.to_dict(update_ids_to_dap=update_ids_to_dap)
3434 dct.update(self.kwargs)
3435 return dct
3436
3437
3438 @register
3439 class RestartArguments(BaseSchema):
3440 """
3441 Arguments for 'restart' request.
3442
3443 Note: automatically generated code. Do not edit manually.
3444 """
3445
3446 __props__ = {}
3447 __refs__ = set()
3448
3449 __slots__ = list(__props__.keys()) + ['kwargs']
3450
3451 def __init__(self, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
3452 """
-
W293
Blank line contains whitespace
3453
3454 """
-
W293
Blank line contains whitespace
3455
3456 self.kwargs = kwargs
3457
3458
3459 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
3460 dct = {
3461 }
3462 dct.update(self.kwargs)
3463 return dct
3464
3465
3466 @register_response('restart')
3467 @register
3468 class RestartResponse(BaseSchema):
3469 """
-
E501
Line too long (97 > 79 characters)
3470 Response to 'restart' request. This is just an acknowledgement, so no body field is required.
3471
3472 Note: automatically generated code. Do not edit manually.
3473 """
3474
3475 __props__ = {
3476 "seq": {
3477 "type": "integer",
-
E501
Line too long (155 > 79 characters)
3478 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
3479 },
3480 "type": {
3481 "type": "string",
3482 "enum": [
3483 "response"
3484 ]
3485 },
3486 "request_seq": {
3487 "type": "integer",
3488 "description": "Sequence number of the corresponding request."
3489 },
3490 "success": {
3491 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
3492 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
3493 },
3494 "command": {
3495 "type": "string",
3496 "description": "The command requested."
3497 },
3498 "message": {
3499 "type": "string",
-
E501
Line too long (201 > 79 characters)
3500 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
3501 "_enum": [
3502 "cancelled"
3503 ],
3504 "enumDescriptions": [
3505 "request was cancelled."
3506 ]
3507 },
3508 "body": {
3509 "type": [
3510 "array",
3511 "boolean",
3512 "integer",
3513 "null",
3514 "number",
3515 "object",
3516 "string"
3517 ],
-
E501
Line too long (119 > 79 characters)
3518 "description": "Contains request result if success is true and optional error details if success is false."
3519 }
3520 }
3521 __refs__ = set()
3522
3523 __slots__ = list(__props__.keys()) + ['kwargs']
3524
3525 def __init__(self, request_seq, success, command, seq=-1, message=None, body=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
3526 """
-
E501
Line too long (81 > 79 characters)
3528 :param integer request_seq: Sequence number of the corresponding request.
3529 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
3530 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
3531 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
3532 :param string command: The command requested.
-
E501
Line too long (154 > 79 characters)
3533 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
3534 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
3535 This raw error might be interpreted by the frontend and is not shown in the UI.
3536 Some predefined values exist.
-
E501
Line too long (181 > 79 characters)
3537 :param ['array', 'boolean', 'integer', 'null', 'number', 'object', 'string'] body: Contains request result if success is true and optional error details if success is false.
3538 """
3539 self.type = 'response'
3540 self.request_seq = request_seq
3541 self.success = success
3542 self.command = command
3543 self.seq = seq
3544 self.message = message
3545 self.body = body
3546 self.kwargs = kwargs
3547
3548
3549 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
3550 type = self.type # noqa (assign to builtin)
3551 request_seq = self.request_seq
3552 success = self.success
3553 command = self.command
3554 seq = self.seq
3555 message = self.message
3556 body = self.body
3557 dct = {
3558 'type': type,
3559 'request_seq': request_seq,
3560 'success': success,
3561 'command': command,
3562 'seq': seq,
3563 }
3564 if message is not None:
3565 dct['message'] = message
3566 if body is not None:
3567 dct['body'] = body
3568 dct.update(self.kwargs)
3569 return dct
3570
3571
3572 @register_request('disconnect')
3573 @register
3574 class DisconnectRequest(BaseSchema):
3575 """
-
E501
Line too long (101 > 79 characters)
3576 The 'disconnect' request is sent from the client to the debug adapter in order to stop debugging.
-
W293
Blank line contains whitespace
3577
-
E501
Line too long (97 > 79 characters)
3578 It asks the debug adapter to disconnect from the debuggee and to terminate the debug adapter.
-
W293
Blank line contains whitespace
3579
-
E501
Line too long (103 > 79 characters)
3580 If the debuggee has been started with the 'launch' request, the 'disconnect' request terminates the
3581 debuggee.
-
W293
Blank line contains whitespace
3582
-
E501
Line too long (100 > 79 characters)
3583 If the 'attach' request was used to connect to the debuggee, 'disconnect' does not terminate the
3584 debuggee.
-
W293
Blank line contains whitespace
3585
-
E501
Line too long (100 > 79 characters)
3586 This behavior can be controlled with the 'terminateDebuggee' argument (if supported by the debug
3587 adapter).
3588
3589 Note: automatically generated code. Do not edit manually.
3590 """
3591
3592 __props__ = {
3593 "seq": {
3594 "type": "integer",
-
E501
Line too long (155 > 79 characters)
3595 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
3596 },
3597 "type": {
3598 "type": "string",
3599 "enum": [
3600 "request"
3601 ]
3602 },
3603 "command": {
3604 "type": "string",
3605 "enum": [
3606 "disconnect"
3607 ]
3608 },
3609 "arguments": {
3610 "type": "DisconnectArguments"
3611 }
3612 }
3613 __refs__ = set(['arguments'])
3614
3615 __slots__ = list(__props__.keys()) + ['kwargs']
3616
3617 def __init__(self, seq=-1, arguments=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
3618 """
3620 :param string command:
-
E501
Line too long (154 > 79 characters)
3621 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
3622 :param DisconnectArguments arguments:
3623 """
3624 self.type = 'request'
3625 self.command = 'disconnect'
3626 self.seq = seq
3627 if arguments is None:
3628 self.arguments = DisconnectArguments()
3629 else:
-
E501
Line too long (164 > 79 characters)
-
E222
Multiple spaces after operator
3630 self.arguments = DisconnectArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != DisconnectArguments else arguments
3631 self.kwargs = kwargs
3632
3633
3634 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
3635 type = self.type # noqa (assign to builtin)
3636 command = self.command
3637 seq = self.seq
3638 arguments = self.arguments
3639 dct = {
3640 'type': type,
3641 'command': command,
3642 'seq': seq,
3643 }
3644 if arguments is not None:
-
E501
Line too long (85 > 79 characters)
3645 dct['arguments'] = arguments.to_dict(update_ids_to_dap=update_ids_to_dap)
3646 dct.update(self.kwargs)
3647 return dct
3648
3649
3650 @register
3651 class DisconnectArguments(BaseSchema):
3652 """
3653 Arguments for 'disconnect' request.
3654
3655 Note: automatically generated code. Do not edit manually.
3656 """
3657
3658 __props__ = {
3659 "restart": {
3660 "type": "boolean",
-
E501
Line too long (116 > 79 characters)
3661 "description": "A value of true indicates that this 'disconnect' request is part of a restart sequence."
3662 },
3663 "terminateDebuggee": {
3664 "type": "boolean",
-
E501
Line too long (296 > 79 characters)
3665 "description": "Indicates whether the debuggee should be terminated when the debugger is disconnected.\nIf unspecified, the debug adapter is free to do whatever it thinks is best.\nThe attribute is only honored by a debug adapter if the capability 'supportTerminateDebuggee' is true."
3666 }
3667 }
3668 __refs__ = set()
3669
3670 __slots__ = list(__props__.keys()) + ['kwargs']
3671
3672 def __init__(self, restart=None, terminateDebuggee=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
3673 """
-
E501
Line too long (119 > 79 characters)
3674 :param boolean restart: A value of true indicates that this 'disconnect' request is part of a restart sequence.
-
E501
Line too long (128 > 79 characters)
3675 :param boolean terminateDebuggee: Indicates whether the debuggee should be terminated when the debugger is disconnected.
-
E501
Line too long (83 > 79 characters)
3676 If unspecified, the debug adapter is free to do whatever it thinks is best.
-
E501
Line too long (110 > 79 characters)
3677 The attribute is only honored by a debug adapter if the capability 'supportTerminateDebuggee' is true.
3678 """
3679 self.restart = restart
3680 self.terminateDebuggee = terminateDebuggee
3681 self.kwargs = kwargs
3682
3683
3684 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
3685 restart = self.restart
3686 terminateDebuggee = self.terminateDebuggee
3687 dct = {
3688 }
3689 if restart is not None:
3690 dct['restart'] = restart
3691 if terminateDebuggee is not None:
3692 dct['terminateDebuggee'] = terminateDebuggee
3693 dct.update(self.kwargs)
3694 return dct
3695
3696
3697 @register_response('disconnect')
3698 @register
3699 class DisconnectResponse(BaseSchema):
3700 """
-
E501
Line too long (100 > 79 characters)
3701 Response to 'disconnect' request. This is just an acknowledgement, so no body field is required.
3702
3703 Note: automatically generated code. Do not edit manually.
3704 """
3705
3706 __props__ = {
3707 "seq": {
3708 "type": "integer",
-
E501
Line too long (155 > 79 characters)
3709 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
3710 },
3711 "type": {
3712 "type": "string",
3713 "enum": [
3714 "response"
3715 ]
3716 },
3717 "request_seq": {
3718 "type": "integer",
3719 "description": "Sequence number of the corresponding request."
3720 },
3721 "success": {
3722 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
3723 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
3724 },
3725 "command": {
3726 "type": "string",
3727 "description": "The command requested."
3728 },
3729 "message": {
3730 "type": "string",
-
E501
Line too long (201 > 79 characters)
3731 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
3732 "_enum": [
3733 "cancelled"
3734 ],
3735 "enumDescriptions": [
3736 "request was cancelled."
3737 ]
3738 },
3739 "body": {
3740 "type": [
3741 "array",
3742 "boolean",
3743 "integer",
3744 "null",
3745 "number",
3746 "object",
3747 "string"
3748 ],
-
E501
Line too long (119 > 79 characters)
3749 "description": "Contains request result if success is true and optional error details if success is false."
3750 }
3751 }
3752 __refs__ = set()
3753
3754 __slots__ = list(__props__.keys()) + ['kwargs']
3755
3756 def __init__(self, request_seq, success, command, seq=-1, message=None, body=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
3757 """
-
E501
Line too long (81 > 79 characters)
3759 :param integer request_seq: Sequence number of the corresponding request.
3760 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
3761 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
3762 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
3763 :param string command: The command requested.
-
E501
Line too long (154 > 79 characters)
3764 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
3765 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
3766 This raw error might be interpreted by the frontend and is not shown in the UI.
3767 Some predefined values exist.
-
E501
Line too long (181 > 79 characters)
3768 :param ['array', 'boolean', 'integer', 'null', 'number', 'object', 'string'] body: Contains request result if success is true and optional error details if success is false.
3769 """
3770 self.type = 'response'
3771 self.request_seq = request_seq
3772 self.success = success
3773 self.command = command
3774 self.seq = seq
3775 self.message = message
3776 self.body = body
3777 self.kwargs = kwargs
3778
3779
3780 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
3781 type = self.type # noqa (assign to builtin)
3782 request_seq = self.request_seq
3783 success = self.success
3784 command = self.command
3785 seq = self.seq
3786 message = self.message
3787 body = self.body
3788 dct = {
3789 'type': type,
3790 'request_seq': request_seq,
3791 'success': success,
3792 'command': command,
3793 'seq': seq,
3794 }
3795 if message is not None:
3796 dct['message'] = message
3797 if body is not None:
3798 dct['body'] = body
3799 dct.update(self.kwargs)
3800 return dct
3801
3802
3803 @register_request('terminate')
3804 @register
3805 class TerminateRequest(BaseSchema):
3806 """
-
E501
Line too long (104 > 79 characters)
3807 The 'terminate' request is sent from the client to the debug adapter in order to give the debuggee a
3808 chance for terminating itself.
-
W293
Blank line contains whitespace
3809
-
E501
Line too long (95 > 79 characters)
3810 Clients should only call this request if the capability 'supportsTerminateRequest' is true.
3811
3812 Note: automatically generated code. Do not edit manually.
3813 """
3814
3815 __props__ = {
3816 "seq": {
3817 "type": "integer",
-
E501
Line too long (155 > 79 characters)
3818 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
3819 },
3820 "type": {
3821 "type": "string",
3822 "enum": [
3823 "request"
3824 ]
3825 },
3826 "command": {
3827 "type": "string",
3828 "enum": [
3829 "terminate"
3830 ]
3831 },
3832 "arguments": {
3833 "type": "TerminateArguments"
3834 }
3835 }
3836 __refs__ = set(['arguments'])
3837
3838 __slots__ = list(__props__.keys()) + ['kwargs']
3839
3840 def __init__(self, seq=-1, arguments=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
3841 """
3843 :param string command:
-
E501
Line too long (154 > 79 characters)
3844 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
3845 :param TerminateArguments arguments:
3846 """
3847 self.type = 'request'
3848 self.command = 'terminate'
3849 self.seq = seq
3850 if arguments is None:
3851 self.arguments = TerminateArguments()
3852 else:
-
E501
Line too long (162 > 79 characters)
-
E222
Multiple spaces after operator
3853 self.arguments = TerminateArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != TerminateArguments else arguments
3854 self.kwargs = kwargs
3855
3856
3857 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
3858 type = self.type # noqa (assign to builtin)
3859 command = self.command
3860 seq = self.seq
3861 arguments = self.arguments
3862 dct = {
3863 'type': type,
3864 'command': command,
3865 'seq': seq,
3866 }
3867 if arguments is not None:
-
E501
Line too long (85 > 79 characters)
3868 dct['arguments'] = arguments.to_dict(update_ids_to_dap=update_ids_to_dap)
3869 dct.update(self.kwargs)
3870 return dct
3871
3872
3873 @register
3874 class TerminateArguments(BaseSchema):
3875 """
3876 Arguments for 'terminate' request.
3877
3878 Note: automatically generated code. Do not edit manually.
3879 """
3880
3881 __props__ = {
3882 "restart": {
3883 "type": "boolean",
-
E501
Line too long (115 > 79 characters)
3884 "description": "A value of true indicates that this 'terminate' request is part of a restart sequence."
3885 }
3886 }
3887 __refs__ = set()
3888
3889 __slots__ = list(__props__.keys()) + ['kwargs']
3890
3891 def __init__(self, restart=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
3892 """
-
E501
Line too long (118 > 79 characters)
3893 :param boolean restart: A value of true indicates that this 'terminate' request is part of a restart sequence.
3894 """
3895 self.restart = restart
3896 self.kwargs = kwargs
3897
3898
3899 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
3900 restart = self.restart
3901 dct = {
3902 }
3903 if restart is not None:
3904 dct['restart'] = restart
3905 dct.update(self.kwargs)
3906 return dct
3907
3908
3909 @register_response('terminate')
3910 @register
3911 class TerminateResponse(BaseSchema):
3912 """
-
E501
Line too long (99 > 79 characters)
3913 Response to 'terminate' request. This is just an acknowledgement, so no body field is required.
3914
3915 Note: automatically generated code. Do not edit manually.
3916 """
3917
3918 __props__ = {
3919 "seq": {
3920 "type": "integer",
-
E501
Line too long (155 > 79 characters)
3921 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
3922 },
3923 "type": {
3924 "type": "string",
3925 "enum": [
3926 "response"
3927 ]
3928 },
3929 "request_seq": {
3930 "type": "integer",
3931 "description": "Sequence number of the corresponding request."
3932 },
3933 "success": {
3934 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
3935 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
3936 },
3937 "command": {
3938 "type": "string",
3939 "description": "The command requested."
3940 },
3941 "message": {
3942 "type": "string",
-
E501
Line too long (201 > 79 characters)
3943 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
3944 "_enum": [
3945 "cancelled"
3946 ],
3947 "enumDescriptions": [
3948 "request was cancelled."
3949 ]
3950 },
3951 "body": {
3952 "type": [
3953 "array",
3954 "boolean",
3955 "integer",
3956 "null",
3957 "number",
3958 "object",
3959 "string"
3960 ],
-
E501
Line too long (119 > 79 characters)
3961 "description": "Contains request result if success is true and optional error details if success is false."
3962 }
3963 }
3964 __refs__ = set()
3965
3966 __slots__ = list(__props__.keys()) + ['kwargs']
3967
3968 def __init__(self, request_seq, success, command, seq=-1, message=None, body=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
3969 """
-
E501
Line too long (81 > 79 characters)
3971 :param integer request_seq: Sequence number of the corresponding request.
3972 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
3973 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
3974 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
3975 :param string command: The command requested.
-
E501
Line too long (154 > 79 characters)
3976 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
3977 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
3978 This raw error might be interpreted by the frontend and is not shown in the UI.
3979 Some predefined values exist.
-
E501
Line too long (181 > 79 characters)
3980 :param ['array', 'boolean', 'integer', 'null', 'number', 'object', 'string'] body: Contains request result if success is true and optional error details if success is false.
3981 """
3982 self.type = 'response'
3983 self.request_seq = request_seq
3984 self.success = success
3985 self.command = command
3986 self.seq = seq
3987 self.message = message
3988 self.body = body
3989 self.kwargs = kwargs
3990
3991
3992 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
3993 type = self.type # noqa (assign to builtin)
3994 request_seq = self.request_seq
3995 success = self.success
3996 command = self.command
3997 seq = self.seq
3998 message = self.message
3999 body = self.body
4000 dct = {
4001 'type': type,
4002 'request_seq': request_seq,
4003 'success': success,
4004 'command': command,
4005 'seq': seq,
4006 }
4007 if message is not None:
4008 dct['message'] = message
4009 if body is not None:
4010 dct['body'] = body
4011 dct.update(self.kwargs)
4012 return dct
4013
4014
4015 @register_request('breakpointLocations')
4016 @register
4017 class BreakpointLocationsRequest(BaseSchema):
4018 """
-
E501
Line too long (102 > 79 characters)
4019 The 'breakpointLocations' request returns all possible locations for source breakpoints in a given
4020 range.
-
W293
Blank line contains whitespace
4021
-
E501
Line too long (99 > 79 characters)
4022 Clients should only call this request if the capability 'supportsBreakpointLocationsRequest' is
4023 true.
4024
4025 Note: automatically generated code. Do not edit manually.
4026 """
4027
4028 __props__ = {
4029 "seq": {
4030 "type": "integer",
-
E501
Line too long (155 > 79 characters)
4031 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
4032 },
4033 "type": {
4034 "type": "string",
4035 "enum": [
4036 "request"
4037 ]
4038 },
4039 "command": {
4040 "type": "string",
4041 "enum": [
4042 "breakpointLocations"
4043 ]
4044 },
4045 "arguments": {
4046 "type": "BreakpointLocationsArguments"
4047 }
4048 }
4049 __refs__ = set(['arguments'])
4050
4051 __slots__ = list(__props__.keys()) + ['kwargs']
4052
4053 def __init__(self, seq=-1, arguments=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
4054 """
4056 :param string command:
-
E501
Line too long (154 > 79 characters)
4057 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
4058 :param BreakpointLocationsArguments arguments:
4059 """
4060 self.type = 'request'
4061 self.command = 'breakpointLocations'
4062 self.seq = seq
4063 if arguments is None:
4064 self.arguments = BreakpointLocationsArguments()
4065 else:
-
E501
Line too long (182 > 79 characters)
-
E222
Multiple spaces after operator
4066 self.arguments = BreakpointLocationsArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != BreakpointLocationsArguments else arguments
4067 self.kwargs = kwargs
4068
4069
4070 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
4071 type = self.type # noqa (assign to builtin)
4072 command = self.command
4073 seq = self.seq
4074 arguments = self.arguments
4075 dct = {
4076 'type': type,
4077 'command': command,
4078 'seq': seq,
4079 }
4080 if arguments is not None:
-
E501
Line too long (85 > 79 characters)
4081 dct['arguments'] = arguments.to_dict(update_ids_to_dap=update_ids_to_dap)
4082 dct.update(self.kwargs)
4083 return dct
4084
4085
4086 @register
4087 class BreakpointLocationsArguments(BaseSchema):
4088 """
4089 Arguments for 'breakpointLocations' request.
4090
4091 Note: automatically generated code. Do not edit manually.
4092 """
4093
4094 __props__ = {
4095 "source": {
-
E501
Line too long (131 > 79 characters)
4096 "description": "The source location of the breakpoints; either 'source.path' or 'source.reference' must be specified.",
4097 "type": "Source"
4098 },
4099 "line": {
4100 "type": "integer",
-
E501
Line too long (180 > 79 characters)
4101 "description": "Start line of range to search possible breakpoint locations in. If only the line is specified, the request returns all possible locations in that line."
4102 },
4103 "column": {
4104 "type": "integer",
-
E501
Line too long (179 > 79 characters)
4105 "description": "Optional start column of range to search possible breakpoint locations in. If no start column is given, the first column in the start line is assumed."
4106 },
4107 "endLine": {
4108 "type": "integer",
-
E501
Line too long (175 > 79 characters)
4109 "description": "Optional end line of range to search possible breakpoint locations in. If no end line is given, then the end line is assumed to be the start line."
4110 },
4111 "endColumn": {
4112 "type": "integer",
-
E501
Line too long (189 > 79 characters)
4113 "description": "Optional end column of range to search possible breakpoint locations in. If no end column is given, then it is assumed to be in the last column of the end line."
4114 }
4115 }
4116 __refs__ = set(['source'])
4117
4118 __slots__ = list(__props__.keys()) + ['kwargs']
4119
4120 def __init__(self, source, line, column=None, endLine=None, endColumn=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
4121 """
-
E501
Line too long (131 > 79 characters)
4122 :param Source source: The source location of the breakpoints; either 'source.path' or 'source.reference' must be specified.
-
E501
Line too long (180 > 79 characters)
4123 :param integer line: Start line of range to search possible breakpoint locations in. If only the line is specified, the request returns all possible locations in that line.
-
E501
Line too long (181 > 79 characters)
4124 :param integer column: Optional start column of range to search possible breakpoint locations in. If no start column is given, the first column in the start line is assumed.
-
E501
Line too long (178 > 79 characters)
4125 :param integer endLine: Optional end line of range to search possible breakpoint locations in. If no end line is given, then the end line is assumed to be the start line.
-
E501
Line too long (194 > 79 characters)
4126 :param integer endColumn: Optional end column of range to search possible breakpoint locations in. If no end column is given, then it is assumed to be in the last column of the end line.
4127 """
4128 if source is None:
4129 self.source = Source()
4130 else:
-
E501
Line too long (126 > 79 characters)
-
E222
Multiple spaces after operator
4131 self.source = Source(update_ids_from_dap=update_ids_from_dap, **source) if source.__class__ != Source else source
4132 self.line = line
4133 self.column = column
4134 self.endLine = endLine
4135 self.endColumn = endColumn
4136 self.kwargs = kwargs
4137
4138
4139 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
4140 source = self.source
4141 line = self.line
4142 column = self.column
4143 endLine = self.endLine
4144 endColumn = self.endColumn
4145 dct = {
4146 'source': source.to_dict(update_ids_to_dap=update_ids_to_dap),
4147 'line': line,
4148 }
4149 if column is not None:
4150 dct['column'] = column
4151 if endLine is not None:
4152 dct['endLine'] = endLine
4153 if endColumn is not None:
4154 dct['endColumn'] = endColumn
4155 dct.update(self.kwargs)
4156 return dct
4157
4158
4159 @register_response('breakpointLocations')
4160 @register
4161 class BreakpointLocationsResponse(BaseSchema):
4162 """
4163 Response to 'breakpointLocations' request.
-
W293
Blank line contains whitespace
4164
4165 Contains possible locations for source breakpoints.
4166
4167 Note: automatically generated code. Do not edit manually.
4168 """
4169
4170 __props__ = {
4171 "seq": {
4172 "type": "integer",
-
E501
Line too long (155 > 79 characters)
4173 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
4174 },
4175 "type": {
4176 "type": "string",
4177 "enum": [
4178 "response"
4179 ]
4180 },
4181 "request_seq": {
4182 "type": "integer",
4183 "description": "Sequence number of the corresponding request."
4184 },
4185 "success": {
4186 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
4187 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
4188 },
4189 "command": {
4190 "type": "string",
4191 "description": "The command requested."
4192 },
4193 "message": {
4194 "type": "string",
-
E501
Line too long (201 > 79 characters)
4195 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
4196 "_enum": [
4197 "cancelled"
4198 ],
4199 "enumDescriptions": [
4200 "request was cancelled."
4201 ]
4202 },
4203 "body": {
4204 "type": "object",
4205 "properties": {
4206 "breakpoints": {
4207 "type": "array",
4208 "items": {
4209 "$ref": "#/definitions/BreakpointLocation"
4210 },
-
E501
Line too long (81 > 79 characters)
4211 "description": "Sorted set of possible breakpoint locations."
4212 }
4213 },
4214 "required": [
4215 "breakpoints"
4216 ]
4217 }
4218 }
4219 __refs__ = set(['body'])
4220
4221 __slots__ = list(__props__.keys()) + ['kwargs']
4222
4223 def __init__(self, request_seq, success, command, body, seq=-1, message=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
4224 """
-
E501
Line too long (81 > 79 characters)
4226 :param integer request_seq: Sequence number of the corresponding request.
4227 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
4228 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
4229 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
4230 :param string command: The command requested.
4231 :param BreakpointLocationsResponseBody body:
-
E501
Line too long (154 > 79 characters)
4232 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
4233 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
4234 This raw error might be interpreted by the frontend and is not shown in the UI.
4235 Some predefined values exist.
4236 """
4237 self.type = 'response'
4238 self.request_seq = request_seq
4239 self.success = success
4240 self.command = command
4241 if body is None:
4242 self.body = BreakpointLocationsResponseBody()
4243 else:
-
E501
Line too long (168 > 79 characters)
-
E222
Multiple spaces after operator
4244 self.body = BreakpointLocationsResponseBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != BreakpointLocationsResponseBody else body
4245 self.seq = seq
4246 self.message = message
4247 self.kwargs = kwargs
4248
4249
4250 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
4251 type = self.type # noqa (assign to builtin)
4252 request_seq = self.request_seq
4253 success = self.success
4254 command = self.command
4255 body = self.body
4256 seq = self.seq
4257 message = self.message
4258 dct = {
4259 'type': type,
4260 'request_seq': request_seq,
4261 'success': success,
4262 'command': command,
4263 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
4264 'seq': seq,
4265 }
4266 if message is not None:
4267 dct['message'] = message
4268 dct.update(self.kwargs)
4269 return dct
4270
4271
4272 @register_request('setBreakpoints')
4273 @register
4274 class SetBreakpointsRequest(BaseSchema):
4275 """
-
E501
Line too long (101 > 79 characters)
4276 Sets multiple breakpoints for a single source and clears all previous breakpoints in that source.
-
W293
Blank line contains whitespace
4277
4278 To clear all breakpoint for a source, specify an empty array.
-
W293
Blank line contains whitespace
4279
-
E501
Line too long (88 > 79 characters)
4280 When a breakpoint is hit, a 'stopped' event (with reason 'breakpoint') is generated.
4281
4282 Note: automatically generated code. Do not edit manually.
4283 """
4284
4285 __props__ = {
4286 "seq": {
4287 "type": "integer",
-
E501
Line too long (155 > 79 characters)
4288 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
4289 },
4290 "type": {
4291 "type": "string",
4292 "enum": [
4293 "request"
4294 ]
4295 },
4296 "command": {
4297 "type": "string",
4298 "enum": [
4299 "setBreakpoints"
4300 ]
4301 },
4302 "arguments": {
4303 "type": "SetBreakpointsArguments"
4304 }
4305 }
4306 __refs__ = set(['arguments'])
4307
4308 __slots__ = list(__props__.keys()) + ['kwargs']
4309
4310 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
4311 """
4313 :param string command:
4314 :param SetBreakpointsArguments arguments:
-
E501
Line too long (154 > 79 characters)
4315 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
4316 """
4317 self.type = 'request'
4318 self.command = 'setBreakpoints'
4319 if arguments is None:
4320 self.arguments = SetBreakpointsArguments()
4321 else:
-
E501
Line too long (172 > 79 characters)
-
E222
Multiple spaces after operator
4322 self.arguments = SetBreakpointsArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != SetBreakpointsArguments else arguments
4323 self.seq = seq
4324 self.kwargs = kwargs
4325
4326
4327 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
4328 type = self.type # noqa (assign to builtin)
4329 command = self.command
4330 arguments = self.arguments
4331 seq = self.seq
4332 dct = {
4333 'type': type,
4334 'command': command,
-
E501
Line too long (80 > 79 characters)
4335 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
4336 'seq': seq,
4337 }
4338 dct.update(self.kwargs)
4339 return dct
4340
4341
4342 @register
4343 class SetBreakpointsArguments(BaseSchema):
4344 """
4345 Arguments for 'setBreakpoints' request.
4346
4347 Note: automatically generated code. Do not edit manually.
4348 """
4349
4350 __props__ = {
4351 "source": {
-
E501
Line too long (131 > 79 characters)
4352 "description": "The source location of the breakpoints; either 'source.path' or 'source.reference' must be specified.",
4353 "type": "Source"
4354 },
4355 "breakpoints": {
4356 "type": "array",
4357 "items": {
4358 "$ref": "#/definitions/SourceBreakpoint"
4359 },
4360 "description": "The code locations of the breakpoints."
4361 },
4362 "lines": {
4363 "type": "array",
4364 "items": {
4365 "type": "integer"
4366 },
4367 "description": "Deprecated: The code locations of the breakpoints."
4368 },
4369 "sourceModified": {
4370 "type": "boolean",
-
E501
Line too long (142 > 79 characters)
4371 "description": "A value of true indicates that the underlying source has been modified which results in new breakpoint locations."
4372 }
4373 }
4374 __refs__ = set(['source'])
4375
4376 __slots__ = list(__props__.keys()) + ['kwargs']
4377
4378 def __init__(self, source, breakpoints=None, lines=None, sourceModified=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
4379 """
-
E501
Line too long (131 > 79 characters)
4380 :param Source source: The source location of the breakpoints; either 'source.path' or 'source.reference' must be specified.
4381 :param array breakpoints: The code locations of the breakpoints.
4382 :param array lines: Deprecated: The code locations of the breakpoints.
-
E501
Line too long (152 > 79 characters)
4383 :param boolean sourceModified: A value of true indicates that the underlying source has been modified which results in new breakpoint locations.
4384 """
4385 if source is None:
4386 self.source = Source()
4387 else:
-
E501
Line too long (126 > 79 characters)
-
E222
Multiple spaces after operator
4388 self.source = Source(update_ids_from_dap=update_ids_from_dap, **source) if source.__class__ != Source else source
4389 self.breakpoints = breakpoints
4390 if update_ids_from_dap and self.breakpoints:
4391 for o in self.breakpoints:
4392 SourceBreakpoint.update_dict_ids_from_dap(o)
4393 self.lines = lines
4394 self.sourceModified = sourceModified
4395 self.kwargs = kwargs
4396
4397
4398 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
4399 source = self.source
4400 breakpoints = self.breakpoints
4401 if breakpoints and hasattr(breakpoints[0], "to_dict"):
4402 breakpoints = [x.to_dict() for x in breakpoints]
4403 lines = self.lines
4404 if lines and hasattr(lines[0], "to_dict"):
4405 lines = [x.to_dict() for x in lines]
4406 sourceModified = self.sourceModified
4407 dct = {
4408 'source': source.to_dict(update_ids_to_dap=update_ids_to_dap),
4409 }
4410 if breakpoints is not None:
-
E501
Line too long (154 > 79 characters)
4411 dct['breakpoints'] = [SourceBreakpoint.update_dict_ids_to_dap(o) for o in breakpoints] if (update_ids_to_dap and breakpoints) else breakpoints
4412 if lines is not None:
4413 dct['lines'] = lines
4414 if sourceModified is not None:
4415 dct['sourceModified'] = sourceModified
4416 dct.update(self.kwargs)
4417 return dct
4418
4419
4420 @register_response('setBreakpoints')
4421 @register
4422 class SetBreakpointsResponse(BaseSchema):
4423 """
4424 Response to 'setBreakpoints' request.
-
W293
Blank line contains whitespace
4425
4426 Returned is information about each breakpoint created by this request.
-
W293
Blank line contains whitespace
4427
-
E501
Line too long (88 > 79 characters)
4428 This includes the actual code location and whether the breakpoint could be verified.
-
W293
Blank line contains whitespace
4429
-
E501
Line too long (87 > 79 characters)
4430 The breakpoints returned are in the same order as the elements of the 'breakpoints'
-
W293
Blank line contains whitespace
4431
4432 (or the deprecated 'lines') array in the arguments.
4433
4434 Note: automatically generated code. Do not edit manually.
4435 """
4436
4437 __props__ = {
4438 "seq": {
4439 "type": "integer",
-
E501
Line too long (155 > 79 characters)
4440 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
4441 },
4442 "type": {
4443 "type": "string",
4444 "enum": [
4445 "response"
4446 ]
4447 },
4448 "request_seq": {
4449 "type": "integer",
4450 "description": "Sequence number of the corresponding request."
4451 },
4452 "success": {
4453 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
4454 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
4455 },
4456 "command": {
4457 "type": "string",
4458 "description": "The command requested."
4459 },
4460 "message": {
4461 "type": "string",
-
E501
Line too long (201 > 79 characters)
4462 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
4463 "_enum": [
4464 "cancelled"
4465 ],
4466 "enumDescriptions": [
4467 "request was cancelled."
4468 ]
4469 },
4470 "body": {
4471 "type": "object",
4472 "properties": {
4473 "breakpoints": {
4474 "type": "array",
4475 "items": {
4476 "$ref": "#/definitions/Breakpoint"
4477 },
-
E501
Line too long (202 > 79 characters)
4478 "description": "Information about the breakpoints.\nThe array elements are in the same order as the elements of the 'breakpoints' (or the deprecated 'lines') array in the arguments."
4479 }
4480 },
4481 "required": [
4482 "breakpoints"
4483 ]
4484 }
4485 }
4486 __refs__ = set(['body'])
4487
4488 __slots__ = list(__props__.keys()) + ['kwargs']
4489
4490 def __init__(self, request_seq, success, command, body, seq=-1, message=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
4491 """
-
E501
Line too long (81 > 79 characters)
4493 :param integer request_seq: Sequence number of the corresponding request.
4494 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
4495 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
4496 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
4497 :param string command: The command requested.
4498 :param SetBreakpointsResponseBody body:
-
E501
Line too long (154 > 79 characters)
4499 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
4500 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
4501 This raw error might be interpreted by the frontend and is not shown in the UI.
4502 Some predefined values exist.
4503 """
4504 self.type = 'response'
4505 self.request_seq = request_seq
4506 self.success = success
4507 self.command = command
4508 if body is None:
4509 self.body = SetBreakpointsResponseBody()
4510 else:
-
E501
Line too long (158 > 79 characters)
-
E222
Multiple spaces after operator
4511 self.body = SetBreakpointsResponseBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != SetBreakpointsResponseBody else body
4512 self.seq = seq
4513 self.message = message
4514 self.kwargs = kwargs
4515
4516
4517 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
4518 type = self.type # noqa (assign to builtin)
4519 request_seq = self.request_seq
4520 success = self.success
4521 command = self.command
4522 body = self.body
4523 seq = self.seq
4524 message = self.message
4525 dct = {
4526 'type': type,
4527 'request_seq': request_seq,
4528 'success': success,
4529 'command': command,
4530 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
4531 'seq': seq,
4532 }
4533 if message is not None:
4534 dct['message'] = message
4535 dct.update(self.kwargs)
4536 return dct
4537
4538
4539 @register_request('setFunctionBreakpoints')
4540 @register
4541 class SetFunctionBreakpointsRequest(BaseSchema):
4542 """
4543 Replaces all existing function breakpoints with new function breakpoints.
-
W293
Blank line contains whitespace
4544
4545 To clear all function breakpoints, specify an empty array.
-
W293
Blank line contains whitespace
4546
-
E501
Line too long (95 > 79 characters)
4547 When a function breakpoint is hit, a 'stopped' event (with reason 'function breakpoint') is
4548 generated.
-
W293
Blank line contains whitespace
4549
-
E501
Line too long (98 > 79 characters)
4550 Clients should only call this request if the capability 'supportsFunctionBreakpoints' is true.
4551
4552 Note: automatically generated code. Do not edit manually.
4553 """
4554
4555 __props__ = {
4556 "seq": {
4557 "type": "integer",
-
E501
Line too long (155 > 79 characters)
4558 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
4559 },
4560 "type": {
4561 "type": "string",
4562 "enum": [
4563 "request"
4564 ]
4565 },
4566 "command": {
4567 "type": "string",
4568 "enum": [
4569 "setFunctionBreakpoints"
4570 ]
4571 },
4572 "arguments": {
4573 "type": "SetFunctionBreakpointsArguments"
4574 }
4575 }
4576 __refs__ = set(['arguments'])
4577
4578 __slots__ = list(__props__.keys()) + ['kwargs']
4579
4580 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
4581 """
4583 :param string command:
4584 :param SetFunctionBreakpointsArguments arguments:
-
E501
Line too long (154 > 79 characters)
4585 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
4586 """
4587 self.type = 'request'
4588 self.command = 'setFunctionBreakpoints'
4589 if arguments is None:
4590 self.arguments = SetFunctionBreakpointsArguments()
4591 else:
-
E501
Line too long (188 > 79 characters)
-
E222
Multiple spaces after operator
4592 self.arguments = SetFunctionBreakpointsArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != SetFunctionBreakpointsArguments else arguments
4593 self.seq = seq
4594 self.kwargs = kwargs
4595
4596
4597 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
4598 type = self.type # noqa (assign to builtin)
4599 command = self.command
4600 arguments = self.arguments
4601 seq = self.seq
4602 dct = {
4603 'type': type,
4604 'command': command,
-
E501
Line too long (80 > 79 characters)
4605 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
4606 'seq': seq,
4607 }
4608 dct.update(self.kwargs)
4609 return dct
4610
4611
4612 @register
4613 class SetFunctionBreakpointsArguments(BaseSchema):
4614 """
4615 Arguments for 'setFunctionBreakpoints' request.
4616
4617 Note: automatically generated code. Do not edit manually.
4618 """
4619
4620 __props__ = {
4621 "breakpoints": {
4622 "type": "array",
4623 "items": {
4624 "$ref": "#/definitions/FunctionBreakpoint"
4625 },
4626 "description": "The function names of the breakpoints."
4627 }
4628 }
4629 __refs__ = set()
4630
4631 __slots__ = list(__props__.keys()) + ['kwargs']
4632
4633 def __init__(self, breakpoints, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
4634 """
4635 :param array breakpoints: The function names of the breakpoints.
4636 """
4637 self.breakpoints = breakpoints
4638 if update_ids_from_dap and self.breakpoints:
4639 for o in self.breakpoints:
4640 FunctionBreakpoint.update_dict_ids_from_dap(o)
4641 self.kwargs = kwargs
4642
4643
4644 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
4645 breakpoints = self.breakpoints
4646 if breakpoints and hasattr(breakpoints[0], "to_dict"):
4647 breakpoints = [x.to_dict() for x in breakpoints]
4648 dct = {
-
E501
Line too long (151 > 79 characters)
4649 'breakpoints': [FunctionBreakpoint.update_dict_ids_to_dap(o) for o in breakpoints] if (update_ids_to_dap and breakpoints) else breakpoints,
4650 }
4651 dct.update(self.kwargs)
4652 return dct
4653
4654
4655 @register_response('setFunctionBreakpoints')
4656 @register
4657 class SetFunctionBreakpointsResponse(BaseSchema):
4658 """
4659 Response to 'setFunctionBreakpoints' request.
-
W293
Blank line contains whitespace
4660
4661 Returned is information about each breakpoint created by this request.
4662
4663 Note: automatically generated code. Do not edit manually.
4664 """
4665
4666 __props__ = {
4667 "seq": {
4668 "type": "integer",
-
E501
Line too long (155 > 79 characters)
4669 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
4670 },
4671 "type": {
4672 "type": "string",
4673 "enum": [
4674 "response"
4675 ]
4676 },
4677 "request_seq": {
4678 "type": "integer",
4679 "description": "Sequence number of the corresponding request."
4680 },
4681 "success": {
4682 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
4683 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
4684 },
4685 "command": {
4686 "type": "string",
4687 "description": "The command requested."
4688 },
4689 "message": {
4690 "type": "string",
-
E501
Line too long (201 > 79 characters)
4691 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
4692 "_enum": [
4693 "cancelled"
4694 ],
4695 "enumDescriptions": [
4696 "request was cancelled."
4697 ]
4698 },
4699 "body": {
4700 "type": "object",
4701 "properties": {
4702 "breakpoints": {
4703 "type": "array",
4704 "items": {
4705 "$ref": "#/definitions/Breakpoint"
4706 },
-
E501
Line too long (145 > 79 characters)
4707 "description": "Information about the breakpoints. The array elements correspond to the elements of the 'breakpoints' array."
4708 }
4709 },
4710 "required": [
4711 "breakpoints"
4712 ]
4713 }
4714 }
4715 __refs__ = set(['body'])
4716
4717 __slots__ = list(__props__.keys()) + ['kwargs']
4718
4719 def __init__(self, request_seq, success, command, body, seq=-1, message=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
4720 """
-
E501
Line too long (81 > 79 characters)
4722 :param integer request_seq: Sequence number of the corresponding request.
4723 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
4724 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
4725 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
4726 :param string command: The command requested.
4727 :param SetFunctionBreakpointsResponseBody body:
-
E501
Line too long (154 > 79 characters)
4728 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
4729 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
4730 This raw error might be interpreted by the frontend and is not shown in the UI.
4731 Some predefined values exist.
4732 """
4733 self.type = 'response'
4734 self.request_seq = request_seq
4735 self.success = success
4736 self.command = command
4737 if body is None:
4738 self.body = SetFunctionBreakpointsResponseBody()
4739 else:
-
E501
Line too long (174 > 79 characters)
-
E222
Multiple spaces after operator
4740 self.body = SetFunctionBreakpointsResponseBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != SetFunctionBreakpointsResponseBody else body
4741 self.seq = seq
4742 self.message = message
4743 self.kwargs = kwargs
4744
4745
4746 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
4747 type = self.type # noqa (assign to builtin)
4748 request_seq = self.request_seq
4749 success = self.success
4750 command = self.command
4751 body = self.body
4752 seq = self.seq
4753 message = self.message
4754 dct = {
4755 'type': type,
4756 'request_seq': request_seq,
4757 'success': success,
4758 'command': command,
4759 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
4760 'seq': seq,
4761 }
4762 if message is not None:
4763 dct['message'] = message
4764 dct.update(self.kwargs)
4765 return dct
4766
4767
4768 @register_request('setExceptionBreakpoints')
4769 @register
4770 class SetExceptionBreakpointsRequest(BaseSchema):
4771 """
4772 The request configures the debuggers response to thrown exceptions.
-
W293
Blank line contains whitespace
4773
-
E501
Line too long (97 > 79 characters)
4774 If an exception is configured to break, a 'stopped' event is fired (with reason 'exception').
-
W293
Blank line contains whitespace
4775
-
E501
Line too long (103 > 79 characters)
4776 Clients should only call this request if the capability 'exceptionBreakpointFilters' returns one or
4777 more filters.
4778
4779 Note: automatically generated code. Do not edit manually.
4780 """
4781
4782 __props__ = {
4783 "seq": {
4784 "type": "integer",
-
E501
Line too long (155 > 79 characters)
4785 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
4786 },
4787 "type": {
4788 "type": "string",
4789 "enum": [
4790 "request"
4791 ]
4792 },
4793 "command": {
4794 "type": "string",
4795 "enum": [
4796 "setExceptionBreakpoints"
4797 ]
4798 },
4799 "arguments": {
4800 "type": "SetExceptionBreakpointsArguments"
4801 }
4802 }
4803 __refs__ = set(['arguments'])
4804
4805 __slots__ = list(__props__.keys()) + ['kwargs']
4806
4807 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
4808 """
4810 :param string command:
4811 :param SetExceptionBreakpointsArguments arguments:
-
E501
Line too long (154 > 79 characters)
4812 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
4813 """
4814 self.type = 'request'
4815 self.command = 'setExceptionBreakpoints'
4816 if arguments is None:
4817 self.arguments = SetExceptionBreakpointsArguments()
4818 else:
-
E501
Line too long (190 > 79 characters)
-
E222
Multiple spaces after operator
4819 self.arguments = SetExceptionBreakpointsArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != SetExceptionBreakpointsArguments else arguments
4820 self.seq = seq
4821 self.kwargs = kwargs
4822
4823
4824 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
4825 type = self.type # noqa (assign to builtin)
4826 command = self.command
4827 arguments = self.arguments
4828 seq = self.seq
4829 dct = {
4830 'type': type,
4831 'command': command,
-
E501
Line too long (80 > 79 characters)
4832 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
4833 'seq': seq,
4834 }
4835 dct.update(self.kwargs)
4836 return dct
4837
4838
4839 @register
4840 class SetExceptionBreakpointsArguments(BaseSchema):
4841 """
4842 Arguments for 'setExceptionBreakpoints' request.
4843
4844 Note: automatically generated code. Do not edit manually.
4845 """
4846
4847 __props__ = {
4848 "filters": {
4849 "type": "array",
4850 "items": {
4851 "type": "string"
4852 },
-
E501
Line too long (229 > 79 characters)
4853 "description": "Set of exception filters specified by their ID. The set of all possible exception filters is defined by the 'exceptionBreakpointFilters' capability. The 'filter' and 'filterOptions' sets are additive."
4854 },
4855 "filterOptions": {
4856 "type": "array",
4857 "items": {
4858 "$ref": "#/definitions/ExceptionFilterOptions"
4859 },
-
E501
Line too long (335 > 79 characters)
4860 "description": "Set of exception filters and their options. The set of all possible exception filters is defined by the 'exceptionBreakpointFilters' capability. This attribute is only honored by a debug adapter if the capability 'supportsExceptionFilterOptions' is true. The 'filter' and 'filterOptions' sets are additive."
4861 },
4862 "exceptionOptions": {
4863 "type": "array",
4864 "items": {
4865 "$ref": "#/definitions/ExceptionOptions"
4866 },
-
E501
Line too long (179 > 79 characters)
4867 "description": "Configuration options for selected exceptions.\nThe attribute is only honored by a debug adapter if the capability 'supportsExceptionOptions' is true."
4868 }
4869 }
4870 __refs__ = set()
4871
4872 __slots__ = list(__props__.keys()) + ['kwargs']
4873
4874 def __init__(self, filters, filterOptions=None, exceptionOptions=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
4875 """
-
E501
Line too long (230 > 79 characters)
4876 :param array filters: Set of exception filters specified by their ID. The set of all possible exception filters is defined by the 'exceptionBreakpointFilters' capability. The 'filter' and 'filterOptions' sets are additive.
-
E501
Line too long (342 > 79 characters)
4877 :param array filterOptions: Set of exception filters and their options. The set of all possible exception filters is defined by the 'exceptionBreakpointFilters' capability. This attribute is only honored by a debug adapter if the capability 'supportsExceptionFilterOptions' is true. The 'filter' and 'filterOptions' sets are additive.
-
E501
Line too long (85 > 79 characters)
4878 :param array exceptionOptions: Configuration options for selected exceptions.
-
E501
Line too long (110 > 79 characters)
4879 The attribute is only honored by a debug adapter if the capability 'supportsExceptionOptions' is true.
4880 """
4881 self.filters = filters
4882 self.filterOptions = filterOptions
4883 if update_ids_from_dap and self.filterOptions:
4884 for o in self.filterOptions:
4885 ExceptionFilterOptions.update_dict_ids_from_dap(o)
4886 self.exceptionOptions = exceptionOptions
4887 if update_ids_from_dap and self.exceptionOptions:
4888 for o in self.exceptionOptions:
4889 ExceptionOptions.update_dict_ids_from_dap(o)
4890 self.kwargs = kwargs
4891
4892
4893 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
4894 filters = self.filters
4895 if filters and hasattr(filters[0], "to_dict"):
4896 filters = [x.to_dict() for x in filters]
4897 filterOptions = self.filterOptions
4898 if filterOptions and hasattr(filterOptions[0], "to_dict"):
4899 filterOptions = [x.to_dict() for x in filterOptions]
4900 exceptionOptions = self.exceptionOptions
4901 if exceptionOptions and hasattr(exceptionOptions[0], "to_dict"):
4902 exceptionOptions = [x.to_dict() for x in exceptionOptions]
4903 dct = {
4904 'filters': filters,
4905 }
4906 if filterOptions is not None:
-
E501
Line too long (168 > 79 characters)
4907 dct['filterOptions'] = [ExceptionFilterOptions.update_dict_ids_to_dap(o) for o in filterOptions] if (update_ids_to_dap and filterOptions) else filterOptions
4908 if exceptionOptions is not None:
-
E501
Line too long (174 > 79 characters)
4909 dct['exceptionOptions'] = [ExceptionOptions.update_dict_ids_to_dap(o) for o in exceptionOptions] if (update_ids_to_dap and exceptionOptions) else exceptionOptions
4910 dct.update(self.kwargs)
4911 return dct
4912
4913
4914 @register_response('setExceptionBreakpoints')
4915 @register
4916 class SetExceptionBreakpointsResponse(BaseSchema):
4917 """
-
E501
Line too long (103 > 79 characters)
4918 Response to 'setExceptionBreakpoints' request. This is just an acknowledgement, so no body field is
4919 required.
4920
4921 Note: automatically generated code. Do not edit manually.
4922 """
4923
4924 __props__ = {
4925 "seq": {
4926 "type": "integer",
-
E501
Line too long (155 > 79 characters)
4927 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
4928 },
4929 "type": {
4930 "type": "string",
4931 "enum": [
4932 "response"
4933 ]
4934 },
4935 "request_seq": {
4936 "type": "integer",
4937 "description": "Sequence number of the corresponding request."
4938 },
4939 "success": {
4940 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
4941 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
4942 },
4943 "command": {
4944 "type": "string",
4945 "description": "The command requested."
4946 },
4947 "message": {
4948 "type": "string",
-
E501
Line too long (201 > 79 characters)
4949 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
4950 "_enum": [
4951 "cancelled"
4952 ],
4953 "enumDescriptions": [
4954 "request was cancelled."
4955 ]
4956 },
4957 "body": {
4958 "type": [
4959 "array",
4960 "boolean",
4961 "integer",
4962 "null",
4963 "number",
4964 "object",
4965 "string"
4966 ],
-
E501
Line too long (119 > 79 characters)
4967 "description": "Contains request result if success is true and optional error details if success is false."
4968 }
4969 }
4970 __refs__ = set()
4971
4972 __slots__ = list(__props__.keys()) + ['kwargs']
4973
4974 def __init__(self, request_seq, success, command, seq=-1, message=None, body=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
4975 """
-
E501
Line too long (81 > 79 characters)
4977 :param integer request_seq: Sequence number of the corresponding request.
4978 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
4979 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
4980 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
4981 :param string command: The command requested.
-
E501
Line too long (154 > 79 characters)
4982 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
4983 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
4984 This raw error might be interpreted by the frontend and is not shown in the UI.
4985 Some predefined values exist.
-
E501
Line too long (181 > 79 characters)
4986 :param ['array', 'boolean', 'integer', 'null', 'number', 'object', 'string'] body: Contains request result if success is true and optional error details if success is false.
4987 """
4988 self.type = 'response'
4989 self.request_seq = request_seq
4990 self.success = success
4991 self.command = command
4992 self.seq = seq
4993 self.message = message
4994 self.body = body
4995 self.kwargs = kwargs
4996
4997
4998 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
4999 type = self.type # noqa (assign to builtin)
5000 request_seq = self.request_seq
5001 success = self.success
5002 command = self.command
5003 seq = self.seq
5004 message = self.message
5005 body = self.body
5006 dct = {
5007 'type': type,
5008 'request_seq': request_seq,
5009 'success': success,
5010 'command': command,
5011 'seq': seq,
5012 }
5013 if message is not None:
5014 dct['message'] = message
5015 if body is not None:
5016 dct['body'] = body
5017 dct.update(self.kwargs)
5018 return dct
5019
5020
5021 @register_request('dataBreakpointInfo')
5022 @register
5023 class DataBreakpointInfoRequest(BaseSchema):
5024 """
-
E501
Line too long (101 > 79 characters)
5025 Obtains information on a possible data breakpoint that could be set on an expression or variable.
-
W293
Blank line contains whitespace
5026
-
E501
Line too long (94 > 79 characters)
5027 Clients should only call this request if the capability 'supportsDataBreakpoints' is true.
5028
5029 Note: automatically generated code. Do not edit manually.
5030 """
5031
5032 __props__ = {
5033 "seq": {
5034 "type": "integer",
-
E501
Line too long (155 > 79 characters)
5035 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
5036 },
5037 "type": {
5038 "type": "string",
5039 "enum": [
5040 "request"
5041 ]
5042 },
5043 "command": {
5044 "type": "string",
5045 "enum": [
5046 "dataBreakpointInfo"
5047 ]
5048 },
5049 "arguments": {
5050 "type": "DataBreakpointInfoArguments"
5051 }
5052 }
5053 __refs__ = set(['arguments'])
5054
5055 __slots__ = list(__props__.keys()) + ['kwargs']
5056
5057 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
5058 """
5060 :param string command:
5061 :param DataBreakpointInfoArguments arguments:
-
E501
Line too long (154 > 79 characters)
5062 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
5063 """
5064 self.type = 'request'
5065 self.command = 'dataBreakpointInfo'
5066 if arguments is None:
5067 self.arguments = DataBreakpointInfoArguments()
5068 else:
-
E501
Line too long (180 > 79 characters)
-
E222
Multiple spaces after operator
5069 self.arguments = DataBreakpointInfoArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != DataBreakpointInfoArguments else arguments
5070 self.seq = seq
5071 self.kwargs = kwargs
5072
5073
5074 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
5075 type = self.type # noqa (assign to builtin)
5076 command = self.command
5077 arguments = self.arguments
5078 seq = self.seq
5079 dct = {
5080 'type': type,
5081 'command': command,
-
E501
Line too long (80 > 79 characters)
5082 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
5083 'seq': seq,
5084 }
5085 dct.update(self.kwargs)
5086 return dct
5087
5088
5089 @register
5090 class DataBreakpointInfoArguments(BaseSchema):
5091 """
5092 Arguments for 'dataBreakpointInfo' request.
5093
5094 Note: automatically generated code. Do not edit manually.
5095 """
5096
5097 __props__ = {
5098 "variablesReference": {
5099 "type": "integer",
-
E501
Line too long (130 > 79 characters)
5100 "description": "Reference to the Variable container if the data breakpoint is requested for a child of the container."
5101 },
5102 "name": {
5103 "type": "string",
-
E501
Line too long (174 > 79 characters)
5104 "description": "The name of the Variable's child to obtain data breakpoint information for.\nIf variableReference isn\u2019t provided, this can be an expression."
5105 }
5106 }
5107 __refs__ = set()
5108
5109 __slots__ = list(__props__.keys()) + ['kwargs']
5110
5111 def __init__(self, name, variablesReference=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
5112 """
-
E501
Line too long (103 > 79 characters)
5113 :param string name: The name of the Variable's child to obtain data breakpoint information for.
5114 If variableReference isn’t provided, this can be an expression.
-
E501
Line too long (144 > 79 characters)
5115 :param integer variablesReference: Reference to the Variable container if the data breakpoint is requested for a child of the container.
5116 """
5117 self.name = name
5118 self.variablesReference = variablesReference
5119 if update_ids_from_dap:
-
E501
Line too long (90 > 79 characters)
5120 self.variablesReference = self._translate_id_from_dap(self.variablesReference)
5121 self.kwargs = kwargs
-
W293
Blank line contains whitespace
5122
-
W293
Blank line contains whitespace
5123
-
E303
Too many blank lines (2)
5124 @classmethod
5125 def update_dict_ids_from_dap(cls, dct):
5126 if 'variablesReference' in dct:
-
E501
Line too long (93 > 79 characters)
5127 dct['variablesReference'] = cls._translate_id_from_dap(dct['variablesReference'])
5128 return dct
5129
5130 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
5131 name = self.name
5132 variablesReference = self.variablesReference
5133 if update_ids_to_dap:
5134 if variablesReference is not None:
-
E501
Line too long (82 > 79 characters)
5135 variablesReference = self._translate_id_to_dap(variablesReference)
5136 dct = {
5137 'name': name,
5138 }
5139 if variablesReference is not None:
5140 dct['variablesReference'] = variablesReference
5141 dct.update(self.kwargs)
-
W293
Blank line contains whitespace
5143
5144 @classmethod
5145 def update_dict_ids_to_dap(cls, dct):
5146 if 'variablesReference' in dct:
-
E501
Line too long (91 > 79 characters)
5147 dct['variablesReference'] = cls._translate_id_to_dap(dct['variablesReference'])
5148 return dct
5149
5150
5151 @register_response('dataBreakpointInfo')
5152 @register
5153 class DataBreakpointInfoResponse(BaseSchema):
5154 """
5155 Response to 'dataBreakpointInfo' request.
5156
5157 Note: automatically generated code. Do not edit manually.
5158 """
5159
5160 __props__ = {
5161 "seq": {
5162 "type": "integer",
-
E501
Line too long (155 > 79 characters)
5163 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
5164 },
5165 "type": {
5166 "type": "string",
5167 "enum": [
5168 "response"
5169 ]
5170 },
5171 "request_seq": {
5172 "type": "integer",
5173 "description": "Sequence number of the corresponding request."
5174 },
5175 "success": {
5176 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
5177 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
5178 },
5179 "command": {
5180 "type": "string",
5181 "description": "The command requested."
5182 },
5183 "message": {
5184 "type": "string",
-
E501
Line too long (201 > 79 characters)
5185 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
5186 "_enum": [
5187 "cancelled"
5188 ],
5189 "enumDescriptions": [
5190 "request was cancelled."
5191 ]
5192 },
5193 "body": {
5194 "type": "object",
5195 "properties": {
5196 "dataId": {
5197 "type": [
5198 "string",
5199 "null"
5200 ],
-
E501
Line too long (188 > 79 characters)
5201 "description": "An identifier for the data on which a data breakpoint can be registered with the setDataBreakpoints request or null if no data breakpoint is available."
5202 },
5203 "description": {
5204 "type": "string",
-
E501
Line too long (142 > 79 characters)
5205 "description": "UI string that describes on what data the breakpoint is set on or why a data breakpoint is not available."
5206 },
5207 "accessTypes": {
5208 "type": "array",
5209 "items": {
5210 "$ref": "#/definitions/DataBreakpointAccessType"
5211 },
-
E501
Line too long (169 > 79 characters)
5212 "description": "Optional attribute listing the available access types for a potential data breakpoint. A UI frontend could surface this information."
5213 },
5214 "canPersist": {
5215 "type": "boolean",
-
E501
Line too long (135 > 79 characters)
5216 "description": "Optional attribute indicating that a potential data breakpoint could be persisted across sessions."
5217 }
5218 },
5219 "required": [
5220 "dataId",
5221 "description"
5222 ]
5223 }
5224 }
5225 __refs__ = set(['body'])
5226
5227 __slots__ = list(__props__.keys()) + ['kwargs']
5228
5229 def __init__(self, request_seq, success, command, body, seq=-1, message=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
5230 """
-
E501
Line too long (81 > 79 characters)
5232 :param integer request_seq: Sequence number of the corresponding request.
5233 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
5234 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
5235 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
5236 :param string command: The command requested.
5237 :param DataBreakpointInfoResponseBody body:
-
E501
Line too long (154 > 79 characters)
5238 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
5239 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
5240 This raw error might be interpreted by the frontend and is not shown in the UI.
5241 Some predefined values exist.
5242 """
5243 self.type = 'response'
5244 self.request_seq = request_seq
5245 self.success = success
5246 self.command = command
5247 if body is None:
5248 self.body = DataBreakpointInfoResponseBody()
5249 else:
-
E501
Line too long (166 > 79 characters)
-
E222
Multiple spaces after operator
5250 self.body = DataBreakpointInfoResponseBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != DataBreakpointInfoResponseBody else body
5251 self.seq = seq
5252 self.message = message
5253 self.kwargs = kwargs
5254
5255
5256 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
5257 type = self.type # noqa (assign to builtin)
5258 request_seq = self.request_seq
5259 success = self.success
5260 command = self.command
5261 body = self.body
5262 seq = self.seq
5263 message = self.message
5264 dct = {
5265 'type': type,
5266 'request_seq': request_seq,
5267 'success': success,
5268 'command': command,
5269 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
5270 'seq': seq,
5271 }
5272 if message is not None:
5273 dct['message'] = message
5274 dct.update(self.kwargs)
5275 return dct
5276
5277
5278 @register_request('setDataBreakpoints')
5279 @register
5280 class SetDataBreakpointsRequest(BaseSchema):
5281 """
5282 Replaces all existing data breakpoints with new data breakpoints.
-
W293
Blank line contains whitespace
5283
5284 To clear all data breakpoints, specify an empty array.
-
W293
Blank line contains whitespace
5285
-
E501
Line too long (98 > 79 characters)
5286 When a data breakpoint is hit, a 'stopped' event (with reason 'data breakpoint') is generated.
-
W293
Blank line contains whitespace
5287
-
E501
Line too long (94 > 79 characters)
5288 Clients should only call this request if the capability 'supportsDataBreakpoints' is true.
5289
5290 Note: automatically generated code. Do not edit manually.
5291 """
5292
5293 __props__ = {
5294 "seq": {
5295 "type": "integer",
-
E501
Line too long (155 > 79 characters)
5296 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
5297 },
5298 "type": {
5299 "type": "string",
5300 "enum": [
5301 "request"
5302 ]
5303 },
5304 "command": {
5305 "type": "string",
5306 "enum": [
5307 "setDataBreakpoints"
5308 ]
5309 },
5310 "arguments": {
5311 "type": "SetDataBreakpointsArguments"
5312 }
5313 }
5314 __refs__ = set(['arguments'])
5315
5316 __slots__ = list(__props__.keys()) + ['kwargs']
5317
5318 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
5319 """
5321 :param string command:
5322 :param SetDataBreakpointsArguments arguments:
-
E501
Line too long (154 > 79 characters)
5323 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
5324 """
5325 self.type = 'request'
5326 self.command = 'setDataBreakpoints'
5327 if arguments is None:
5328 self.arguments = SetDataBreakpointsArguments()
5329 else:
-
E501
Line too long (180 > 79 characters)
-
E222
Multiple spaces after operator
5330 self.arguments = SetDataBreakpointsArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != SetDataBreakpointsArguments else arguments
5331 self.seq = seq
5332 self.kwargs = kwargs
5333
5334
5335 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
5336 type = self.type # noqa (assign to builtin)
5337 command = self.command
5338 arguments = self.arguments
5339 seq = self.seq
5340 dct = {
5341 'type': type,
5342 'command': command,
-
E501
Line too long (80 > 79 characters)
5343 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
5344 'seq': seq,
5345 }
5346 dct.update(self.kwargs)
5347 return dct
5348
5349
5350 @register
5351 class SetDataBreakpointsArguments(BaseSchema):
5352 """
5353 Arguments for 'setDataBreakpoints' request.
5354
5355 Note: automatically generated code. Do not edit manually.
5356 """
5357
5358 __props__ = {
5359 "breakpoints": {
5360 "type": "array",
5361 "items": {
5362 "$ref": "#/definitions/DataBreakpoint"
5363 },
-
E501
Line too long (139 > 79 characters)
5364 "description": "The contents of this array replaces all existing data breakpoints. An empty array clears all data breakpoints."
5365 }
5366 }
5367 __refs__ = set()
5368
5369 __slots__ = list(__props__.keys()) + ['kwargs']
5370
5371 def __init__(self, breakpoints, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
5372 """
-
E501
Line too long (144 > 79 characters)
5373 :param array breakpoints: The contents of this array replaces all existing data breakpoints. An empty array clears all data breakpoints.
5374 """
5375 self.breakpoints = breakpoints
5376 if update_ids_from_dap and self.breakpoints:
5377 for o in self.breakpoints:
5378 DataBreakpoint.update_dict_ids_from_dap(o)
5379 self.kwargs = kwargs
5380
5381
5382 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
5383 breakpoints = self.breakpoints
5384 if breakpoints and hasattr(breakpoints[0], "to_dict"):
5385 breakpoints = [x.to_dict() for x in breakpoints]
5386 dct = {
-
E501
Line too long (147 > 79 characters)
5387 'breakpoints': [DataBreakpoint.update_dict_ids_to_dap(o) for o in breakpoints] if (update_ids_to_dap and breakpoints) else breakpoints,
5388 }
5389 dct.update(self.kwargs)
5390 return dct
5391
5392
5393 @register_response('setDataBreakpoints')
5394 @register
5395 class SetDataBreakpointsResponse(BaseSchema):
5396 """
5397 Response to 'setDataBreakpoints' request.
-
W293
Blank line contains whitespace
5398
5399 Returned is information about each breakpoint created by this request.
5400
5401 Note: automatically generated code. Do not edit manually.
5402 """
5403
5404 __props__ = {
5405 "seq": {
5406 "type": "integer",
-
E501
Line too long (155 > 79 characters)
5407 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
5408 },
5409 "type": {
5410 "type": "string",
5411 "enum": [
5412 "response"
5413 ]
5414 },
5415 "request_seq": {
5416 "type": "integer",
5417 "description": "Sequence number of the corresponding request."
5418 },
5419 "success": {
5420 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
5421 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
5422 },
5423 "command": {
5424 "type": "string",
5425 "description": "The command requested."
5426 },
5427 "message": {
5428 "type": "string",
-
E501
Line too long (201 > 79 characters)
5429 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
5430 "_enum": [
5431 "cancelled"
5432 ],
5433 "enumDescriptions": [
5434 "request was cancelled."
5435 ]
5436 },
5437 "body": {
5438 "type": "object",
5439 "properties": {
5440 "breakpoints": {
5441 "type": "array",
5442 "items": {
5443 "$ref": "#/definitions/Breakpoint"
5444 },
-
E501
Line too long (165 > 79 characters)
5445 "description": "Information about the data breakpoints. The array elements correspond to the elements of the input argument 'breakpoints' array."
5446 }
5447 },
5448 "required": [
5449 "breakpoints"
5450 ]
5451 }
5452 }
5453 __refs__ = set(['body'])
5454
5455 __slots__ = list(__props__.keys()) + ['kwargs']
5456
5457 def __init__(self, request_seq, success, command, body, seq=-1, message=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
5458 """
-
E501
Line too long (81 > 79 characters)
5460 :param integer request_seq: Sequence number of the corresponding request.
5461 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
5462 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
5463 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
5464 :param string command: The command requested.
5465 :param SetDataBreakpointsResponseBody body:
-
E501
Line too long (154 > 79 characters)
5466 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
5467 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
5468 This raw error might be interpreted by the frontend and is not shown in the UI.
5469 Some predefined values exist.
5470 """
5471 self.type = 'response'
5472 self.request_seq = request_seq
5473 self.success = success
5474 self.command = command
5475 if body is None:
5476 self.body = SetDataBreakpointsResponseBody()
5477 else:
-
E501
Line too long (166 > 79 characters)
-
E222
Multiple spaces after operator
5478 self.body = SetDataBreakpointsResponseBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != SetDataBreakpointsResponseBody else body
5479 self.seq = seq
5480 self.message = message
5481 self.kwargs = kwargs
5482
5483
5484 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
5485 type = self.type # noqa (assign to builtin)
5486 request_seq = self.request_seq
5487 success = self.success
5488 command = self.command
5489 body = self.body
5490 seq = self.seq
5491 message = self.message
5492 dct = {
5493 'type': type,
5494 'request_seq': request_seq,
5495 'success': success,
5496 'command': command,
5497 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
5498 'seq': seq,
5499 }
5500 if message is not None:
5501 dct['message'] = message
5502 dct.update(self.kwargs)
5503 return dct
5504
5505
5506 @register_request('setInstructionBreakpoints')
5507 @register
5508 class SetInstructionBreakpointsRequest(BaseSchema):
5509 """
-
E501
Line too long (103 > 79 characters)
5510 Replaces all existing instruction breakpoints. Typically, instruction breakpoints would be set from
5511 a diassembly window.
-
W293
Blank line contains whitespace
5512
5513 To clear all instruction breakpoints, specify an empty array.
-
W293
Blank line contains whitespace
5514
-
E501
Line too long (102 > 79 characters)
5515 When an instruction breakpoint is hit, a 'stopped' event (with reason 'instruction breakpoint') is
5516 generated.
-
W293
Blank line contains whitespace
5517
-
E501
Line too long (101 > 79 characters)
5518 Clients should only call this request if the capability 'supportsInstructionBreakpoints' is true.
5519
5520 Note: automatically generated code. Do not edit manually.
5521 """
5522
5523 __props__ = {
5524 "seq": {
5525 "type": "integer",
-
E501
Line too long (155 > 79 characters)
5526 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
5527 },
5528 "type": {
5529 "type": "string",
5530 "enum": [
5531 "request"
5532 ]
5533 },
5534 "command": {
5535 "type": "string",
5536 "enum": [
5537 "setInstructionBreakpoints"
5538 ]
5539 },
5540 "arguments": {
5541 "type": "SetInstructionBreakpointsArguments"
5542 }
5543 }
5544 __refs__ = set(['arguments'])
5545
5546 __slots__ = list(__props__.keys()) + ['kwargs']
5547
5548 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
5549 """
5551 :param string command:
5552 :param SetInstructionBreakpointsArguments arguments:
-
E501
Line too long (154 > 79 characters)
5553 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
5554 """
5555 self.type = 'request'
5556 self.command = 'setInstructionBreakpoints'
5557 if arguments is None:
5558 self.arguments = SetInstructionBreakpointsArguments()
5559 else:
-
E501
Line too long (194 > 79 characters)
-
E222
Multiple spaces after operator
5560 self.arguments = SetInstructionBreakpointsArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != SetInstructionBreakpointsArguments else arguments
5561 self.seq = seq
5562 self.kwargs = kwargs
5563
5564
5565 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
5566 type = self.type # noqa (assign to builtin)
5567 command = self.command
5568 arguments = self.arguments
5569 seq = self.seq
5570 dct = {
5571 'type': type,
5572 'command': command,
-
E501
Line too long (80 > 79 characters)
5573 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
5574 'seq': seq,
5575 }
5576 dct.update(self.kwargs)
5577 return dct
5578
5579
5580 @register
5581 class SetInstructionBreakpointsArguments(BaseSchema):
5582 """
5583 Arguments for 'setInstructionBreakpoints' request
5584
5585 Note: automatically generated code. Do not edit manually.
5586 """
5587
5588 __props__ = {
5589 "breakpoints": {
5590 "type": "array",
5591 "items": {
5592 "$ref": "#/definitions/InstructionBreakpoint"
5593 },
5594 "description": "The instruction references of the breakpoints"
5595 }
5596 }
5597 __refs__ = set()
5598
5599 __slots__ = list(__props__.keys()) + ['kwargs']
5600
5601 def __init__(self, breakpoints, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
5602 """
5603 :param array breakpoints: The instruction references of the breakpoints
5604 """
5605 self.breakpoints = breakpoints
5606 if update_ids_from_dap and self.breakpoints:
5607 for o in self.breakpoints:
5608 InstructionBreakpoint.update_dict_ids_from_dap(o)
5609 self.kwargs = kwargs
5610
5611
5612 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
5613 breakpoints = self.breakpoints
5614 if breakpoints and hasattr(breakpoints[0], "to_dict"):
5615 breakpoints = [x.to_dict() for x in breakpoints]
5616 dct = {
-
E501
Line too long (154 > 79 characters)
5617 'breakpoints': [InstructionBreakpoint.update_dict_ids_to_dap(o) for o in breakpoints] if (update_ids_to_dap and breakpoints) else breakpoints,
5618 }
5619 dct.update(self.kwargs)
5620 return dct
5621
5622
5623 @register_response('setInstructionBreakpoints')
5624 @register
5625 class SetInstructionBreakpointsResponse(BaseSchema):
5626 """
5627 Response to 'setInstructionBreakpoints' request
5628
5629 Note: automatically generated code. Do not edit manually.
5630 """
5631
5632 __props__ = {
5633 "seq": {
5634 "type": "integer",
-
E501
Line too long (155 > 79 characters)
5635 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
5636 },
5637 "type": {
5638 "type": "string",
5639 "enum": [
5640 "response"
5641 ]
5642 },
5643 "request_seq": {
5644 "type": "integer",
5645 "description": "Sequence number of the corresponding request."
5646 },
5647 "success": {
5648 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
5649 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
5650 },
5651 "command": {
5652 "type": "string",
5653 "description": "The command requested."
5654 },
5655 "message": {
5656 "type": "string",
-
E501
Line too long (201 > 79 characters)
5657 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
5658 "_enum": [
5659 "cancelled"
5660 ],
5661 "enumDescriptions": [
5662 "request was cancelled."
5663 ]
5664 },
5665 "body": {
5666 "type": "object",
5667 "properties": {
5668 "breakpoints": {
5669 "type": "array",
5670 "items": {
5671 "$ref": "#/definitions/Breakpoint"
5672 },
-
E501
Line too long (145 > 79 characters)
5673 "description": "Information about the breakpoints. The array elements correspond to the elements of the 'breakpoints' array."
5674 }
5675 },
5676 "required": [
5677 "breakpoints"
5678 ]
5679 }
5680 }
5681 __refs__ = set(['body'])
5682
5683 __slots__ = list(__props__.keys()) + ['kwargs']
5684
5685 def __init__(self, request_seq, success, command, body, seq=-1, message=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
5686 """
-
E501
Line too long (81 > 79 characters)
5688 :param integer request_seq: Sequence number of the corresponding request.
5689 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
5690 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
5691 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
5692 :param string command: The command requested.
5693 :param SetInstructionBreakpointsResponseBody body:
-
E501
Line too long (154 > 79 characters)
5694 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
5695 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
5696 This raw error might be interpreted by the frontend and is not shown in the UI.
5697 Some predefined values exist.
5698 """
5699 self.type = 'response'
5700 self.request_seq = request_seq
5701 self.success = success
5702 self.command = command
5703 if body is None:
5704 self.body = SetInstructionBreakpointsResponseBody()
5705 else:
-
E501
Line too long (180 > 79 characters)
-
E222
Multiple spaces after operator
5706 self.body = SetInstructionBreakpointsResponseBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != SetInstructionBreakpointsResponseBody else body
5707 self.seq = seq
5708 self.message = message
5709 self.kwargs = kwargs
5710
5711
5712 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
5713 type = self.type # noqa (assign to builtin)
5714 request_seq = self.request_seq
5715 success = self.success
5716 command = self.command
5717 body = self.body
5718 seq = self.seq
5719 message = self.message
5720 dct = {
5721 'type': type,
5722 'request_seq': request_seq,
5723 'success': success,
5724 'command': command,
5725 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
5726 'seq': seq,
5727 }
5728 if message is not None:
5729 dct['message'] = message
5730 dct.update(self.kwargs)
5731 return dct
5732
5733
5734 @register_request('continue')
5735 @register
5736 class ContinueRequest(BaseSchema):
5737 """
5738 The request starts the debuggee to run again.
5739
5740 Note: automatically generated code. Do not edit manually.
5741 """
5742
5743 __props__ = {
5744 "seq": {
5745 "type": "integer",
-
E501
Line too long (155 > 79 characters)
5746 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
5747 },
5748 "type": {
5749 "type": "string",
5750 "enum": [
5751 "request"
5752 ]
5753 },
5754 "command": {
5755 "type": "string",
5756 "enum": [
5757 "continue"
5758 ]
5759 },
5760 "arguments": {
5761 "type": "ContinueArguments"
5762 }
5763 }
5764 __refs__ = set(['arguments'])
5765
5766 __slots__ = list(__props__.keys()) + ['kwargs']
5767
5768 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
5769 """
5771 :param string command:
5772 :param ContinueArguments arguments:
-
E501
Line too long (154 > 79 characters)
5773 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
5774 """
5775 self.type = 'request'
5776 self.command = 'continue'
5777 if arguments is None:
5778 self.arguments = ContinueArguments()
5779 else:
-
E501
Line too long (160 > 79 characters)
-
E222
Multiple spaces after operator
5780 self.arguments = ContinueArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != ContinueArguments else arguments
5781 self.seq = seq
5782 self.kwargs = kwargs
5783
5784
5785 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
5786 type = self.type # noqa (assign to builtin)
5787 command = self.command
5788 arguments = self.arguments
5789 seq = self.seq
5790 dct = {
5791 'type': type,
5792 'command': command,
-
E501
Line too long (80 > 79 characters)
5793 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
5794 'seq': seq,
5795 }
5796 dct.update(self.kwargs)
5797 return dct
5798
5799
5800 @register
5801 class ContinueArguments(BaseSchema):
5802 """
5803 Arguments for 'continue' request.
5804
5805 Note: automatically generated code. Do not edit manually.
5806 """
5807
5808 __props__ = {
5809 "threadId": {
5810 "type": "integer",
-
E501
Line too long (247 > 79 characters)
5811 "description": "Continue execution for the specified thread (if possible).\nIf the backend cannot continue on a single thread but will continue on all threads, it should set the 'allThreadsContinued' attribute in the response to true."
5812 }
5813 }
5814 __refs__ = set()
5815
5816 __slots__ = list(__props__.keys()) + ['kwargs']
5817
5818 def __init__(self, threadId, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
5819 """
-
E501
Line too long (91 > 79 characters)
5820 :param integer threadId: Continue execution for the specified thread (if possible).
-
E501
Line too long (166 > 79 characters)
5821 If the backend cannot continue on a single thread but will continue on all threads, it should set the 'allThreadsContinued' attribute in the response to true.
5822 """
5823 self.threadId = threadId
5824 if update_ids_from_dap:
5825 self.threadId = self._translate_id_from_dap(self.threadId)
5826 self.kwargs = kwargs
-
W293
Blank line contains whitespace
5827
-
W293
Blank line contains whitespace
5828
-
E303
Too many blank lines (2)
5829 @classmethod
5830 def update_dict_ids_from_dap(cls, dct):
5831 if 'threadId' in dct:
5832 dct['threadId'] = cls._translate_id_from_dap(dct['threadId'])
5833 return dct
5834
5835 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
5836 threadId = self.threadId
5837 if update_ids_to_dap:
5838 if threadId is not None:
5839 threadId = self._translate_id_to_dap(threadId)
5840 dct = {
5841 'threadId': threadId,
5842 }
5843 dct.update(self.kwargs)
-
W293
Blank line contains whitespace
5845
5846 @classmethod
5847 def update_dict_ids_to_dap(cls, dct):
5848 if 'threadId' in dct:
5849 dct['threadId'] = cls._translate_id_to_dap(dct['threadId'])
5850 return dct
5851
5852
5853 @register_response('continue')
5854 @register
5855 class ContinueResponse(BaseSchema):
5856 """
5857 Response to 'continue' request.
5858
5859 Note: automatically generated code. Do not edit manually.
5860 """
5861
5862 __props__ = {
5863 "seq": {
5864 "type": "integer",
-
E501
Line too long (155 > 79 characters)
5865 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
5866 },
5867 "type": {
5868 "type": "string",
5869 "enum": [
5870 "response"
5871 ]
5872 },
5873 "request_seq": {
5874 "type": "integer",
5875 "description": "Sequence number of the corresponding request."
5876 },
5877 "success": {
5878 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
5879 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
5880 },
5881 "command": {
5882 "type": "string",
5883 "description": "The command requested."
5884 },
5885 "message": {
5886 "type": "string",
-
E501
Line too long (201 > 79 characters)
5887 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
5888 "_enum": [
5889 "cancelled"
5890 ],
5891 "enumDescriptions": [
5892 "request was cancelled."
5893 ]
5894 },
5895 "body": {
5896 "type": "object",
5897 "properties": {
5898 "allThreadsContinued": {
5899 "type": "boolean",
-
E501
Line too long (223 > 79 characters)
5900 "description": "If true, the 'continue' request has ignored the specified thread and continued all threads instead.\nIf this attribute is missing a value of 'true' is assumed for backward compatibility."
5901 }
5902 }
5903 }
5904 }
5905 __refs__ = set(['body'])
5906
5907 __slots__ = list(__props__.keys()) + ['kwargs']
5908
5909 def __init__(self, request_seq, success, command, body, seq=-1, message=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
5910 """
-
E501
Line too long (81 > 79 characters)
5912 :param integer request_seq: Sequence number of the corresponding request.
5913 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
5914 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
5915 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
5916 :param string command: The command requested.
5917 :param ContinueResponseBody body:
-
E501
Line too long (154 > 79 characters)
5918 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
5919 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
5920 This raw error might be interpreted by the frontend and is not shown in the UI.
5921 Some predefined values exist.
5922 """
5923 self.type = 'response'
5924 self.request_seq = request_seq
5925 self.success = success
5926 self.command = command
5927 if body is None:
5928 self.body = ContinueResponseBody()
5929 else:
-
E501
Line too long (146 > 79 characters)
-
E222
Multiple spaces after operator
5930 self.body = ContinueResponseBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != ContinueResponseBody else body
5931 self.seq = seq
5932 self.message = message
5933 self.kwargs = kwargs
5934
5935
5936 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
5937 type = self.type # noqa (assign to builtin)
5938 request_seq = self.request_seq
5939 success = self.success
5940 command = self.command
5941 body = self.body
5942 seq = self.seq
5943 message = self.message
5944 dct = {
5945 'type': type,
5946 'request_seq': request_seq,
5947 'success': success,
5948 'command': command,
5949 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
5950 'seq': seq,
5951 }
5952 if message is not None:
5953 dct['message'] = message
5954 dct.update(self.kwargs)
5955 return dct
5956
5957
5958 @register_request('next')
5959 @register
5960 class NextRequest(BaseSchema):
5961 """
5962 The request starts the debuggee to run again for one step.
-
W293
Blank line contains whitespace
5963
-
E501
Line too long (104 > 79 characters)
5964 The debug adapter first sends the response and then a 'stopped' event (with reason 'step') after the
5965 step has completed.
5966
5967 Note: automatically generated code. Do not edit manually.
5968 """
5969
5970 __props__ = {
5971 "seq": {
5972 "type": "integer",
-
E501
Line too long (155 > 79 characters)
5973 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
5974 },
5975 "type": {
5976 "type": "string",
5977 "enum": [
5978 "request"
5979 ]
5980 },
5981 "command": {
5982 "type": "string",
5983 "enum": [
5984 "next"
5985 ]
5986 },
5987 "arguments": {
5988 "type": "NextArguments"
5989 }
5990 }
5991 __refs__ = set(['arguments'])
5992
5993 __slots__ = list(__props__.keys()) + ['kwargs']
5994
5995 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
5996 """
5998 :param string command:
5999 :param NextArguments arguments:
-
E501
Line too long (154 > 79 characters)
6000 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
6001 """
6002 self.type = 'request'
6003 self.command = 'next'
6004 if arguments is None:
6005 self.arguments = NextArguments()
6006 else:
-
E501
Line too long (152 > 79 characters)
-
E222
Multiple spaces after operator
6007 self.arguments = NextArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != NextArguments else arguments
6008 self.seq = seq
6009 self.kwargs = kwargs
6010
6011
6012 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
6013 type = self.type # noqa (assign to builtin)
6014 command = self.command
6015 arguments = self.arguments
6016 seq = self.seq
6017 dct = {
6018 'type': type,
6019 'command': command,
-
E501
Line too long (80 > 79 characters)
6020 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
6021 'seq': seq,
6022 }
6023 dct.update(self.kwargs)
6024 return dct
6025
6026
6027 @register
6028 class NextArguments(BaseSchema):
6029 """
6030 Arguments for 'next' request.
6031
6032 Note: automatically generated code. Do not edit manually.
6033 """
6034
6035 __props__ = {
6036 "threadId": {
6037 "type": "integer",
6038 "description": "Execute 'next' for this thread."
6039 },
6040 "granularity": {
-
E501
Line too long (132 > 79 characters)
6041 "description": "Optional granularity to step. If no granularity is specified, a granularity of 'statement' is assumed.",
6042 "type": "SteppingGranularity"
6043 }
6044 }
6045 __refs__ = set(['granularity'])
6046
6047 __slots__ = list(__props__.keys()) + ['kwargs']
6048
6049 def __init__(self, threadId, granularity=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
6050 """
6051 :param integer threadId: Execute 'next' for this thread.
-
E501
Line too long (150 > 79 characters)
6052 :param SteppingGranularity granularity: Optional granularity to step. If no granularity is specified, a granularity of 'statement' is assumed.
6053 """
6054 self.threadId = threadId
6055 if granularity is not None:
6056 assert granularity in SteppingGranularity.VALID_VALUES
6057 self.granularity = granularity
6058 if update_ids_from_dap:
6059 self.threadId = self._translate_id_from_dap(self.threadId)
6060 self.kwargs = kwargs
-
W293
Blank line contains whitespace
6061
-
W293
Blank line contains whitespace
6062
-
E303
Too many blank lines (2)
6063 @classmethod
6064 def update_dict_ids_from_dap(cls, dct):
6065 if 'threadId' in dct:
6066 dct['threadId'] = cls._translate_id_from_dap(dct['threadId'])
6067 return dct
6068
6069 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
6070 threadId = self.threadId
6071 granularity = self.granularity
6072 if update_ids_to_dap:
6073 if threadId is not None:
6074 threadId = self._translate_id_to_dap(threadId)
6075 dct = {
6076 'threadId': threadId,
6077 }
6078 if granularity is not None:
6079 dct['granularity'] = granularity
6080 dct.update(self.kwargs)
-
W293
Blank line contains whitespace
6082
6083 @classmethod
6084 def update_dict_ids_to_dap(cls, dct):
6085 if 'threadId' in dct:
6086 dct['threadId'] = cls._translate_id_to_dap(dct['threadId'])
6087 return dct
6088
6089
6090 @register_response('next')
6091 @register
6092 class NextResponse(BaseSchema):
6093 """
-
E501
Line too long (94 > 79 characters)
6094 Response to 'next' request. This is just an acknowledgement, so no body field is required.
6095
6096 Note: automatically generated code. Do not edit manually.
6097 """
6098
6099 __props__ = {
6100 "seq": {
6101 "type": "integer",
-
E501
Line too long (155 > 79 characters)
6102 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
6103 },
6104 "type": {
6105 "type": "string",
6106 "enum": [
6107 "response"
6108 ]
6109 },
6110 "request_seq": {
6111 "type": "integer",
6112 "description": "Sequence number of the corresponding request."
6113 },
6114 "success": {
6115 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
6116 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
6117 },
6118 "command": {
6119 "type": "string",
6120 "description": "The command requested."
6121 },
6122 "message": {
6123 "type": "string",
-
E501
Line too long (201 > 79 characters)
6124 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
6125 "_enum": [
6126 "cancelled"
6127 ],
6128 "enumDescriptions": [
6129 "request was cancelled."
6130 ]
6131 },
6132 "body": {
6133 "type": [
6134 "array",
6135 "boolean",
6136 "integer",
6137 "null",
6138 "number",
6139 "object",
6140 "string"
6141 ],
-
E501
Line too long (119 > 79 characters)
6142 "description": "Contains request result if success is true and optional error details if success is false."
6143 }
6144 }
6145 __refs__ = set()
6146
6147 __slots__ = list(__props__.keys()) + ['kwargs']
6148
6149 def __init__(self, request_seq, success, command, seq=-1, message=None, body=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
6150 """
-
E501
Line too long (81 > 79 characters)
6152 :param integer request_seq: Sequence number of the corresponding request.
6153 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
6154 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
6155 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
6156 :param string command: The command requested.
-
E501
Line too long (154 > 79 characters)
6157 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
6158 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
6159 This raw error might be interpreted by the frontend and is not shown in the UI.
6160 Some predefined values exist.
-
E501
Line too long (181 > 79 characters)
6161 :param ['array', 'boolean', 'integer', 'null', 'number', 'object', 'string'] body: Contains request result if success is true and optional error details if success is false.
6162 """
6163 self.type = 'response'
6164 self.request_seq = request_seq
6165 self.success = success
6166 self.command = command
6167 self.seq = seq
6168 self.message = message
6169 self.body = body
6170 self.kwargs = kwargs
6171
6172
6173 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
6174 type = self.type # noqa (assign to builtin)
6175 request_seq = self.request_seq
6176 success = self.success
6177 command = self.command
6178 seq = self.seq
6179 message = self.message
6180 body = self.body
6181 dct = {
6182 'type': type,
6183 'request_seq': request_seq,
6184 'success': success,
6185 'command': command,
6186 'seq': seq,
6187 }
6188 if message is not None:
6189 dct['message'] = message
6190 if body is not None:
6191 dct['body'] = body
6192 dct.update(self.kwargs)
6193 return dct
6194
6195
6196 @register_request('stepIn')
6197 @register
6198 class StepInRequest(BaseSchema):
6199 """
6200 The request starts the debuggee to step into a function/method if possible.
-
W293
Blank line contains whitespace
6201
6202 If it cannot step into a target, 'stepIn' behaves like 'next'.
-
W293
Blank line contains whitespace
6203
-
E501
Line too long (104 > 79 characters)
6204 The debug adapter first sends the response and then a 'stopped' event (with reason 'step') after the
6205 step has completed.
-
W293
Blank line contains whitespace
6206
-
E501
Line too long (86 > 79 characters)
6207 If there are multiple function/method calls (or other targets) on the source line,
-
W293
Blank line contains whitespace
6208
-
E501
Line too long (104 > 79 characters)
6209 the optional argument 'targetId' can be used to control into which target the 'stepIn' should occur.
-
W293
Blank line contains whitespace
6210
-
E501
Line too long (97 > 79 characters)
6211 The list of possible targets for a given source line can be retrieved via the 'stepInTargets'
6212 request.
6213
6214 Note: automatically generated code. Do not edit manually.
6215 """
6216
6217 __props__ = {
6218 "seq": {
6219 "type": "integer",
-
E501
Line too long (155 > 79 characters)
6220 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
6221 },
6222 "type": {
6223 "type": "string",
6224 "enum": [
6225 "request"
6226 ]
6227 },
6228 "command": {
6229 "type": "string",
6230 "enum": [
6231 "stepIn"
6232 ]
6233 },
6234 "arguments": {
6235 "type": "StepInArguments"
6236 }
6237 }
6238 __refs__ = set(['arguments'])
6239
6240 __slots__ = list(__props__.keys()) + ['kwargs']
6241
6242 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
6243 """
6245 :param string command:
6246 :param StepInArguments arguments:
-
E501
Line too long (154 > 79 characters)
6247 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
6248 """
6249 self.type = 'request'
6250 self.command = 'stepIn'
6251 if arguments is None:
6252 self.arguments = StepInArguments()
6253 else:
-
E501
Line too long (156 > 79 characters)
-
E222
Multiple spaces after operator
6254 self.arguments = StepInArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != StepInArguments else arguments
6255 self.seq = seq
6256 self.kwargs = kwargs
6257
6258
6259 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
6260 type = self.type # noqa (assign to builtin)
6261 command = self.command
6262 arguments = self.arguments
6263 seq = self.seq
6264 dct = {
6265 'type': type,
6266 'command': command,
-
E501
Line too long (80 > 79 characters)
6267 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
6268 'seq': seq,
6269 }
6270 dct.update(self.kwargs)
6271 return dct
6272
6273
6274 @register
6275 class StepInArguments(BaseSchema):
6276 """
6277 Arguments for 'stepIn' request.
6278
6279 Note: automatically generated code. Do not edit manually.
6280 """
6281
6282 __props__ = {
6283 "threadId": {
6284 "type": "integer",
6285 "description": "Execute 'stepIn' for this thread."
6286 },
6287 "targetId": {
6288 "type": "integer",
6289 "description": "Optional id of the target to step into."
6290 },
6291 "granularity": {
-
E501
Line too long (132 > 79 characters)
6292 "description": "Optional granularity to step. If no granularity is specified, a granularity of 'statement' is assumed.",
6293 "type": "SteppingGranularity"
6294 }
6295 }
6296 __refs__ = set(['granularity'])
6297
6298 __slots__ = list(__props__.keys()) + ['kwargs']
6299
6300 def __init__(self, threadId, targetId=None, granularity=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
6301 """
6302 :param integer threadId: Execute 'stepIn' for this thread.
6303 :param integer targetId: Optional id of the target to step into.
-
E501
Line too long (150 > 79 characters)
6304 :param SteppingGranularity granularity: Optional granularity to step. If no granularity is specified, a granularity of 'statement' is assumed.
6305 """
6306 self.threadId = threadId
6307 self.targetId = targetId
6308 if granularity is not None:
6309 assert granularity in SteppingGranularity.VALID_VALUES
6310 self.granularity = granularity
6311 if update_ids_from_dap:
6312 self.threadId = self._translate_id_from_dap(self.threadId)
6313 self.kwargs = kwargs
-
W293
Blank line contains whitespace
6314
-
W293
Blank line contains whitespace
6315
-
E303
Too many blank lines (2)
6316 @classmethod
6317 def update_dict_ids_from_dap(cls, dct):
6318 if 'threadId' in dct:
6319 dct['threadId'] = cls._translate_id_from_dap(dct['threadId'])
6320 return dct
6321
6322 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
6323 threadId = self.threadId
6324 targetId = self.targetId
6325 granularity = self.granularity
6326 if update_ids_to_dap:
6327 if threadId is not None:
6328 threadId = self._translate_id_to_dap(threadId)
6329 dct = {
6330 'threadId': threadId,
6331 }
6332 if targetId is not None:
6333 dct['targetId'] = targetId
6334 if granularity is not None:
6335 dct['granularity'] = granularity
6336 dct.update(self.kwargs)
-
W293
Blank line contains whitespace
6338
6339 @classmethod
6340 def update_dict_ids_to_dap(cls, dct):
6341 if 'threadId' in dct:
6342 dct['threadId'] = cls._translate_id_to_dap(dct['threadId'])
6343 return dct
6344
6345
6346 @register_response('stepIn')
6347 @register
6348 class StepInResponse(BaseSchema):
6349 """
-
E501
Line too long (96 > 79 characters)
6350 Response to 'stepIn' request. This is just an acknowledgement, so no body field is required.
6351
6352 Note: automatically generated code. Do not edit manually.
6353 """
6354
6355 __props__ = {
6356 "seq": {
6357 "type": "integer",
-
E501
Line too long (155 > 79 characters)
6358 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
6359 },
6360 "type": {
6361 "type": "string",
6362 "enum": [
6363 "response"
6364 ]
6365 },
6366 "request_seq": {
6367 "type": "integer",
6368 "description": "Sequence number of the corresponding request."
6369 },
6370 "success": {
6371 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
6372 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
6373 },
6374 "command": {
6375 "type": "string",
6376 "description": "The command requested."
6377 },
6378 "message": {
6379 "type": "string",
-
E501
Line too long (201 > 79 characters)
6380 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
6381 "_enum": [
6382 "cancelled"
6383 ],
6384 "enumDescriptions": [
6385 "request was cancelled."
6386 ]
6387 },
6388 "body": {
6389 "type": [
6390 "array",
6391 "boolean",
6392 "integer",
6393 "null",
6394 "number",
6395 "object",
6396 "string"
6397 ],
-
E501
Line too long (119 > 79 characters)
6398 "description": "Contains request result if success is true and optional error details if success is false."
6399 }
6400 }
6401 __refs__ = set()
6402
6403 __slots__ = list(__props__.keys()) + ['kwargs']
6404
6405 def __init__(self, request_seq, success, command, seq=-1, message=None, body=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
6406 """
-
E501
Line too long (81 > 79 characters)
6408 :param integer request_seq: Sequence number of the corresponding request.
6409 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
6410 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
6411 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
6412 :param string command: The command requested.
-
E501
Line too long (154 > 79 characters)
6413 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
6414 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
6415 This raw error might be interpreted by the frontend and is not shown in the UI.
6416 Some predefined values exist.
-
E501
Line too long (181 > 79 characters)
6417 :param ['array', 'boolean', 'integer', 'null', 'number', 'object', 'string'] body: Contains request result if success is true and optional error details if success is false.
6418 """
6419 self.type = 'response'
6420 self.request_seq = request_seq
6421 self.success = success
6422 self.command = command
6423 self.seq = seq
6424 self.message = message
6425 self.body = body
6426 self.kwargs = kwargs
6427
6428
6429 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
6430 type = self.type # noqa (assign to builtin)
6431 request_seq = self.request_seq
6432 success = self.success
6433 command = self.command
6434 seq = self.seq
6435 message = self.message
6436 body = self.body
6437 dct = {
6438 'type': type,
6439 'request_seq': request_seq,
6440 'success': success,
6441 'command': command,
6442 'seq': seq,
6443 }
6444 if message is not None:
6445 dct['message'] = message
6446 if body is not None:
6447 dct['body'] = body
6448 dct.update(self.kwargs)
6449 return dct
6450
6451
6452 @register_request('stepOut')
6453 @register
6454 class StepOutRequest(BaseSchema):
6455 """
6456 The request starts the debuggee to run again for one step.
-
W293
Blank line contains whitespace
6457
-
E501
Line too long (104 > 79 characters)
6458 The debug adapter first sends the response and then a 'stopped' event (with reason 'step') after the
6459 step has completed.
6460
6461 Note: automatically generated code. Do not edit manually.
6462 """
6463
6464 __props__ = {
6465 "seq": {
6466 "type": "integer",
-
E501
Line too long (155 > 79 characters)
6467 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
6468 },
6469 "type": {
6470 "type": "string",
6471 "enum": [
6472 "request"
6473 ]
6474 },
6475 "command": {
6476 "type": "string",
6477 "enum": [
6478 "stepOut"
6479 ]
6480 },
6481 "arguments": {
6482 "type": "StepOutArguments"
6483 }
6484 }
6485 __refs__ = set(['arguments'])
6486
6487 __slots__ = list(__props__.keys()) + ['kwargs']
6488
6489 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
6490 """
6492 :param string command:
6493 :param StepOutArguments arguments:
-
E501
Line too long (154 > 79 characters)
6494 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
6495 """
6496 self.type = 'request'
6497 self.command = 'stepOut'
6498 if arguments is None:
6499 self.arguments = StepOutArguments()
6500 else:
-
E501
Line too long (158 > 79 characters)
-
E222
Multiple spaces after operator
6501 self.arguments = StepOutArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != StepOutArguments else arguments
6502 self.seq = seq
6503 self.kwargs = kwargs
6504
6505
6506 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
6507 type = self.type # noqa (assign to builtin)
6508 command = self.command
6509 arguments = self.arguments
6510 seq = self.seq
6511 dct = {
6512 'type': type,
6513 'command': command,
-
E501
Line too long (80 > 79 characters)
6514 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
6515 'seq': seq,
6516 }
6517 dct.update(self.kwargs)
6518 return dct
6519
6520
6521 @register
6522 class StepOutArguments(BaseSchema):
6523 """
6524 Arguments for 'stepOut' request.
6525
6526 Note: automatically generated code. Do not edit manually.
6527 """
6528
6529 __props__ = {
6530 "threadId": {
6531 "type": "integer",
6532 "description": "Execute 'stepOut' for this thread."
6533 },
6534 "granularity": {
-
E501
Line too long (132 > 79 characters)
6535 "description": "Optional granularity to step. If no granularity is specified, a granularity of 'statement' is assumed.",
6536 "type": "SteppingGranularity"
6537 }
6538 }
6539 __refs__ = set(['granularity'])
6540
6541 __slots__ = list(__props__.keys()) + ['kwargs']
6542
6543 def __init__(self, threadId, granularity=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
6544 """
6545 :param integer threadId: Execute 'stepOut' for this thread.
-
E501
Line too long (150 > 79 characters)
6546 :param SteppingGranularity granularity: Optional granularity to step. If no granularity is specified, a granularity of 'statement' is assumed.
6547 """
6548 self.threadId = threadId
6549 if granularity is not None:
6550 assert granularity in SteppingGranularity.VALID_VALUES
6551 self.granularity = granularity
6552 if update_ids_from_dap:
6553 self.threadId = self._translate_id_from_dap(self.threadId)
6554 self.kwargs = kwargs
-
W293
Blank line contains whitespace
6555
-
W293
Blank line contains whitespace
6556
-
E303
Too many blank lines (2)
6557 @classmethod
6558 def update_dict_ids_from_dap(cls, dct):
6559 if 'threadId' in dct:
6560 dct['threadId'] = cls._translate_id_from_dap(dct['threadId'])
6561 return dct
6562
6563 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
6564 threadId = self.threadId
6565 granularity = self.granularity
6566 if update_ids_to_dap:
6567 if threadId is not None:
6568 threadId = self._translate_id_to_dap(threadId)
6569 dct = {
6570 'threadId': threadId,
6571 }
6572 if granularity is not None:
6573 dct['granularity'] = granularity
6574 dct.update(self.kwargs)
-
W293
Blank line contains whitespace
6576
6577 @classmethod
6578 def update_dict_ids_to_dap(cls, dct):
6579 if 'threadId' in dct:
6580 dct['threadId'] = cls._translate_id_to_dap(dct['threadId'])
6581 return dct
6582
6583
6584 @register_response('stepOut')
6585 @register
6586 class StepOutResponse(BaseSchema):
6587 """
-
E501
Line too long (97 > 79 characters)
6588 Response to 'stepOut' request. This is just an acknowledgement, so no body field is required.
6589
6590 Note: automatically generated code. Do not edit manually.
6591 """
6592
6593 __props__ = {
6594 "seq": {
6595 "type": "integer",
-
E501
Line too long (155 > 79 characters)
6596 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
6597 },
6598 "type": {
6599 "type": "string",
6600 "enum": [
6601 "response"
6602 ]
6603 },
6604 "request_seq": {
6605 "type": "integer",
6606 "description": "Sequence number of the corresponding request."
6607 },
6608 "success": {
6609 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
6610 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
6611 },
6612 "command": {
6613 "type": "string",
6614 "description": "The command requested."
6615 },
6616 "message": {
6617 "type": "string",
-
E501
Line too long (201 > 79 characters)
6618 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
6619 "_enum": [
6620 "cancelled"
6621 ],
6622 "enumDescriptions": [
6623 "request was cancelled."
6624 ]
6625 },
6626 "body": {
6627 "type": [
6628 "array",
6629 "boolean",
6630 "integer",
6631 "null",
6632 "number",
6633 "object",
6634 "string"
6635 ],
-
E501
Line too long (119 > 79 characters)
6636 "description": "Contains request result if success is true and optional error details if success is false."
6637 }
6638 }
6639 __refs__ = set()
6640
6641 __slots__ = list(__props__.keys()) + ['kwargs']
6642
6643 def __init__(self, request_seq, success, command, seq=-1, message=None, body=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
6644 """
-
E501
Line too long (81 > 79 characters)
6646 :param integer request_seq: Sequence number of the corresponding request.
6647 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
6648 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
6649 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
6650 :param string command: The command requested.
-
E501
Line too long (154 > 79 characters)
6651 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
6652 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
6653 This raw error might be interpreted by the frontend and is not shown in the UI.
6654 Some predefined values exist.
-
E501
Line too long (181 > 79 characters)
6655 :param ['array', 'boolean', 'integer', 'null', 'number', 'object', 'string'] body: Contains request result if success is true and optional error details if success is false.
6656 """
6657 self.type = 'response'
6658 self.request_seq = request_seq
6659 self.success = success
6660 self.command = command
6661 self.seq = seq
6662 self.message = message
6663 self.body = body
6664 self.kwargs = kwargs
6665
6666
6667 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
6668 type = self.type # noqa (assign to builtin)
6669 request_seq = self.request_seq
6670 success = self.success
6671 command = self.command
6672 seq = self.seq
6673 message = self.message
6674 body = self.body
6675 dct = {
6676 'type': type,
6677 'request_seq': request_seq,
6678 'success': success,
6679 'command': command,
6680 'seq': seq,
6681 }
6682 if message is not None:
6683 dct['message'] = message
6684 if body is not None:
6685 dct['body'] = body
6686 dct.update(self.kwargs)
6687 return dct
6688
6689
6690 @register_request('stepBack')
6691 @register
6692 class StepBackRequest(BaseSchema):
6693 """
6694 The request starts the debuggee to run one step backwards.
-
W293
Blank line contains whitespace
6695
-
E501
Line too long (104 > 79 characters)
6696 The debug adapter first sends the response and then a 'stopped' event (with reason 'step') after the
6697 step has completed.
-
W293
Blank line contains whitespace
6698
-
E501
Line too long (87 > 79 characters)
6699 Clients should only call this request if the capability 'supportsStepBack' is true.
6700
6701 Note: automatically generated code. Do not edit manually.
6702 """
6703
6704 __props__ = {
6705 "seq": {
6706 "type": "integer",
-
E501
Line too long (155 > 79 characters)
6707 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
6708 },
6709 "type": {
6710 "type": "string",
6711 "enum": [
6712 "request"
6713 ]
6714 },
6715 "command": {
6716 "type": "string",
6717 "enum": [
6718 "stepBack"
6719 ]
6720 },
6721 "arguments": {
6722 "type": "StepBackArguments"
6723 }
6724 }
6725 __refs__ = set(['arguments'])
6726
6727 __slots__ = list(__props__.keys()) + ['kwargs']
6728
6729 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
6730 """
6732 :param string command:
6733 :param StepBackArguments arguments:
-
E501
Line too long (154 > 79 characters)
6734 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
6735 """
6736 self.type = 'request'
6737 self.command = 'stepBack'
6738 if arguments is None:
6739 self.arguments = StepBackArguments()
6740 else:
-
E501
Line too long (160 > 79 characters)
-
E222
Multiple spaces after operator
6741 self.arguments = StepBackArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != StepBackArguments else arguments
6742 self.seq = seq
6743 self.kwargs = kwargs
6744
6745
6746 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
6747 type = self.type # noqa (assign to builtin)
6748 command = self.command
6749 arguments = self.arguments
6750 seq = self.seq
6751 dct = {
6752 'type': type,
6753 'command': command,
-
E501
Line too long (80 > 79 characters)
6754 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
6755 'seq': seq,
6756 }
6757 dct.update(self.kwargs)
6758 return dct
6759
6760
6761 @register
6762 class StepBackArguments(BaseSchema):
6763 """
6764 Arguments for 'stepBack' request.
6765
6766 Note: automatically generated code. Do not edit manually.
6767 """
6768
6769 __props__ = {
6770 "threadId": {
6771 "type": "integer",
6772 "description": "Execute 'stepBack' for this thread."
6773 },
6774 "granularity": {
-
E501
Line too long (132 > 79 characters)
6775 "description": "Optional granularity to step. If no granularity is specified, a granularity of 'statement' is assumed.",
6776 "type": "SteppingGranularity"
6777 }
6778 }
6779 __refs__ = set(['granularity'])
6780
6781 __slots__ = list(__props__.keys()) + ['kwargs']
6782
6783 def __init__(self, threadId, granularity=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
6784 """
6785 :param integer threadId: Execute 'stepBack' for this thread.
-
E501
Line too long (150 > 79 characters)
6786 :param SteppingGranularity granularity: Optional granularity to step. If no granularity is specified, a granularity of 'statement' is assumed.
6787 """
6788 self.threadId = threadId
6789 if granularity is not None:
6790 assert granularity in SteppingGranularity.VALID_VALUES
6791 self.granularity = granularity
6792 if update_ids_from_dap:
6793 self.threadId = self._translate_id_from_dap(self.threadId)
6794 self.kwargs = kwargs
-
W293
Blank line contains whitespace
6795
-
W293
Blank line contains whitespace
6796
-
E303
Too many blank lines (2)
6797 @classmethod
6798 def update_dict_ids_from_dap(cls, dct):
6799 if 'threadId' in dct:
6800 dct['threadId'] = cls._translate_id_from_dap(dct['threadId'])
6801 return dct
6802
6803 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
6804 threadId = self.threadId
6805 granularity = self.granularity
6806 if update_ids_to_dap:
6807 if threadId is not None:
6808 threadId = self._translate_id_to_dap(threadId)
6809 dct = {
6810 'threadId': threadId,
6811 }
6812 if granularity is not None:
6813 dct['granularity'] = granularity
6814 dct.update(self.kwargs)
-
W293
Blank line contains whitespace
6816
6817 @classmethod
6818 def update_dict_ids_to_dap(cls, dct):
6819 if 'threadId' in dct:
6820 dct['threadId'] = cls._translate_id_to_dap(dct['threadId'])
6821 return dct
6822
6823
6824 @register_response('stepBack')
6825 @register
6826 class StepBackResponse(BaseSchema):
6827 """
-
E501
Line too long (98 > 79 characters)
6828 Response to 'stepBack' request. This is just an acknowledgement, so no body field is required.
6829
6830 Note: automatically generated code. Do not edit manually.
6831 """
6832
6833 __props__ = {
6834 "seq": {
6835 "type": "integer",
-
E501
Line too long (155 > 79 characters)
6836 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
6837 },
6838 "type": {
6839 "type": "string",
6840 "enum": [
6841 "response"
6842 ]
6843 },
6844 "request_seq": {
6845 "type": "integer",
6846 "description": "Sequence number of the corresponding request."
6847 },
6848 "success": {
6849 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
6850 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
6851 },
6852 "command": {
6853 "type": "string",
6854 "description": "The command requested."
6855 },
6856 "message": {
6857 "type": "string",
-
E501
Line too long (201 > 79 characters)
6858 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
6859 "_enum": [
6860 "cancelled"
6861 ],
6862 "enumDescriptions": [
6863 "request was cancelled."
6864 ]
6865 },
6866 "body": {
6867 "type": [
6868 "array",
6869 "boolean",
6870 "integer",
6871 "null",
6872 "number",
6873 "object",
6874 "string"
6875 ],
-
E501
Line too long (119 > 79 characters)
6876 "description": "Contains request result if success is true and optional error details if success is false."
6877 }
6878 }
6879 __refs__ = set()
6880
6881 __slots__ = list(__props__.keys()) + ['kwargs']
6882
6883 def __init__(self, request_seq, success, command, seq=-1, message=None, body=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
6884 """
-
E501
Line too long (81 > 79 characters)
6886 :param integer request_seq: Sequence number of the corresponding request.
6887 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
6888 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
6889 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
6890 :param string command: The command requested.
-
E501
Line too long (154 > 79 characters)
6891 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
6892 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
6893 This raw error might be interpreted by the frontend and is not shown in the UI.
6894 Some predefined values exist.
-
E501
Line too long (181 > 79 characters)
6895 :param ['array', 'boolean', 'integer', 'null', 'number', 'object', 'string'] body: Contains request result if success is true and optional error details if success is false.
6896 """
6897 self.type = 'response'
6898 self.request_seq = request_seq
6899 self.success = success
6900 self.command = command
6901 self.seq = seq
6902 self.message = message
6903 self.body = body
6904 self.kwargs = kwargs
6905
6906
6907 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
6908 type = self.type # noqa (assign to builtin)
6909 request_seq = self.request_seq
6910 success = self.success
6911 command = self.command
6912 seq = self.seq
6913 message = self.message
6914 body = self.body
6915 dct = {
6916 'type': type,
6917 'request_seq': request_seq,
6918 'success': success,
6919 'command': command,
6920 'seq': seq,
6921 }
6922 if message is not None:
6923 dct['message'] = message
6924 if body is not None:
6925 dct['body'] = body
6926 dct.update(self.kwargs)
6927 return dct
6928
6929
6930 @register_request('reverseContinue')
6931 @register
6932 class ReverseContinueRequest(BaseSchema):
6933 """
6934 The request starts the debuggee to run backward.
-
W293
Blank line contains whitespace
6935
-
E501
Line too long (87 > 79 characters)
6936 Clients should only call this request if the capability 'supportsStepBack' is true.
6937
6938 Note: automatically generated code. Do not edit manually.
6939 """
6940
6941 __props__ = {
6942 "seq": {
6943 "type": "integer",
-
E501
Line too long (155 > 79 characters)
6944 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
6945 },
6946 "type": {
6947 "type": "string",
6948 "enum": [
6949 "request"
6950 ]
6951 },
6952 "command": {
6953 "type": "string",
6954 "enum": [
6955 "reverseContinue"
6956 ]
6957 },
6958 "arguments": {
6959 "type": "ReverseContinueArguments"
6960 }
6961 }
6962 __refs__ = set(['arguments'])
6963
6964 __slots__ = list(__props__.keys()) + ['kwargs']
6965
6966 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
6967 """
6969 :param string command:
6970 :param ReverseContinueArguments arguments:
-
E501
Line too long (154 > 79 characters)
6971 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
6972 """
6973 self.type = 'request'
6974 self.command = 'reverseContinue'
6975 if arguments is None:
6976 self.arguments = ReverseContinueArguments()
6977 else:
-
E501
Line too long (174 > 79 characters)
-
E222
Multiple spaces after operator
6978 self.arguments = ReverseContinueArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != ReverseContinueArguments else arguments
6979 self.seq = seq
6980 self.kwargs = kwargs
6981
6982
6983 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
6984 type = self.type # noqa (assign to builtin)
6985 command = self.command
6986 arguments = self.arguments
6987 seq = self.seq
6988 dct = {
6989 'type': type,
6990 'command': command,
-
E501
Line too long (80 > 79 characters)
6991 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
6992 'seq': seq,
6993 }
6994 dct.update(self.kwargs)
6995 return dct
6996
6997
6998 @register
6999 class ReverseContinueArguments(BaseSchema):
7000 """
7001 Arguments for 'reverseContinue' request.
7002
7003 Note: automatically generated code. Do not edit manually.
7004 """
7005
7006 __props__ = {
7007 "threadId": {
7008 "type": "integer",
7009 "description": "Execute 'reverseContinue' for this thread."
7010 }
7011 }
7012 __refs__ = set()
7013
7014 __slots__ = list(__props__.keys()) + ['kwargs']
7015
7016 def __init__(self, threadId, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
7017 """
7018 :param integer threadId: Execute 'reverseContinue' for this thread.
7019 """
7020 self.threadId = threadId
7021 if update_ids_from_dap:
7022 self.threadId = self._translate_id_from_dap(self.threadId)
7023 self.kwargs = kwargs
-
W293
Blank line contains whitespace
7024
-
W293
Blank line contains whitespace
7025
-
E303
Too many blank lines (2)
7026 @classmethod
7027 def update_dict_ids_from_dap(cls, dct):
7028 if 'threadId' in dct:
7029 dct['threadId'] = cls._translate_id_from_dap(dct['threadId'])
7030 return dct
7031
7032 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
7033 threadId = self.threadId
7034 if update_ids_to_dap:
7035 if threadId is not None:
7036 threadId = self._translate_id_to_dap(threadId)
7037 dct = {
7038 'threadId': threadId,
7039 }
7040 dct.update(self.kwargs)
-
W293
Blank line contains whitespace
7042
7043 @classmethod
7044 def update_dict_ids_to_dap(cls, dct):
7045 if 'threadId' in dct:
7046 dct['threadId'] = cls._translate_id_to_dap(dct['threadId'])
7047 return dct
7048
7049
7050 @register_response('reverseContinue')
7051 @register
7052 class ReverseContinueResponse(BaseSchema):
7053 """
-
E501
Line too long (95 > 79 characters)
7054 Response to 'reverseContinue' request. This is just an acknowledgement, so no body field is
7055 required.
7056
7057 Note: automatically generated code. Do not edit manually.
7058 """
7059
7060 __props__ = {
7061 "seq": {
7062 "type": "integer",
-
E501
Line too long (155 > 79 characters)
7063 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
7064 },
7065 "type": {
7066 "type": "string",
7067 "enum": [
7068 "response"
7069 ]
7070 },
7071 "request_seq": {
7072 "type": "integer",
7073 "description": "Sequence number of the corresponding request."
7074 },
7075 "success": {
7076 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
7077 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
7078 },
7079 "command": {
7080 "type": "string",
7081 "description": "The command requested."
7082 },
7083 "message": {
7084 "type": "string",
-
E501
Line too long (201 > 79 characters)
7085 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
7086 "_enum": [
7087 "cancelled"
7088 ],
7089 "enumDescriptions": [
7090 "request was cancelled."
7091 ]
7092 },
7093 "body": {
7094 "type": [
7095 "array",
7096 "boolean",
7097 "integer",
7098 "null",
7099 "number",
7100 "object",
7101 "string"
7102 ],
-
E501
Line too long (119 > 79 characters)
7103 "description": "Contains request result if success is true and optional error details if success is false."
7104 }
7105 }
7106 __refs__ = set()
7107
7108 __slots__ = list(__props__.keys()) + ['kwargs']
7109
7110 def __init__(self, request_seq, success, command, seq=-1, message=None, body=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
7111 """
-
E501
Line too long (81 > 79 characters)
7113 :param integer request_seq: Sequence number of the corresponding request.
7114 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
7115 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
7116 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
7117 :param string command: The command requested.
-
E501
Line too long (154 > 79 characters)
7118 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
7119 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
7120 This raw error might be interpreted by the frontend and is not shown in the UI.
7121 Some predefined values exist.
-
E501
Line too long (181 > 79 characters)
7122 :param ['array', 'boolean', 'integer', 'null', 'number', 'object', 'string'] body: Contains request result if success is true and optional error details if success is false.
7123 """
7124 self.type = 'response'
7125 self.request_seq = request_seq
7126 self.success = success
7127 self.command = command
7128 self.seq = seq
7129 self.message = message
7130 self.body = body
7131 self.kwargs = kwargs
7132
7133
7134 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
7135 type = self.type # noqa (assign to builtin)
7136 request_seq = self.request_seq
7137 success = self.success
7138 command = self.command
7139 seq = self.seq
7140 message = self.message
7141 body = self.body
7142 dct = {
7143 'type': type,
7144 'request_seq': request_seq,
7145 'success': success,
7146 'command': command,
7147 'seq': seq,
7148 }
7149 if message is not None:
7150 dct['message'] = message
7151 if body is not None:
7152 dct['body'] = body
7153 dct.update(self.kwargs)
7154 return dct
7155
7156
7157 @register_request('restartFrame')
7158 @register
7159 class RestartFrameRequest(BaseSchema):
7160 """
7161 The request restarts execution of the specified stackframe.
-
W293
Blank line contains whitespace
7162
-
E501
Line too long (103 > 79 characters)
7163 The debug adapter first sends the response and then a 'stopped' event (with reason 'restart') after
7164 the restart has completed.
-
W293
Blank line contains whitespace
7165
-
E501
Line too long (91 > 79 characters)
7166 Clients should only call this request if the capability 'supportsRestartFrame' is true.
7167
7168 Note: automatically generated code. Do not edit manually.
7169 """
7170
7171 __props__ = {
7172 "seq": {
7173 "type": "integer",
-
E501
Line too long (155 > 79 characters)
7174 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
7175 },
7176 "type": {
7177 "type": "string",
7178 "enum": [
7179 "request"
7180 ]
7181 },
7182 "command": {
7183 "type": "string",
7184 "enum": [
7185 "restartFrame"
7186 ]
7187 },
7188 "arguments": {
7189 "type": "RestartFrameArguments"
7190 }
7191 }
7192 __refs__ = set(['arguments'])
7193
7194 __slots__ = list(__props__.keys()) + ['kwargs']
7195
7196 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
7197 """
7199 :param string command:
7200 :param RestartFrameArguments arguments:
-
E501
Line too long (154 > 79 characters)
7201 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
7202 """
7203 self.type = 'request'
7204 self.command = 'restartFrame'
7205 if arguments is None:
7206 self.arguments = RestartFrameArguments()
7207 else:
-
E501
Line too long (168 > 79 characters)
-
E222
Multiple spaces after operator
7208 self.arguments = RestartFrameArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != RestartFrameArguments else arguments
7209 self.seq = seq
7210 self.kwargs = kwargs
7211
7212
7213 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
7214 type = self.type # noqa (assign to builtin)
7215 command = self.command
7216 arguments = self.arguments
7217 seq = self.seq
7218 dct = {
7219 'type': type,
7220 'command': command,
-
E501
Line too long (80 > 79 characters)
7221 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
7222 'seq': seq,
7223 }
7224 dct.update(self.kwargs)
7225 return dct
7226
7227
7228 @register
7229 class RestartFrameArguments(BaseSchema):
7230 """
7231 Arguments for 'restartFrame' request.
7232
7233 Note: automatically generated code. Do not edit manually.
7234 """
7235
7236 __props__ = {
7237 "frameId": {
7238 "type": "integer",
7239 "description": "Restart this stackframe."
7240 }
7241 }
7242 __refs__ = set()
7243
7244 __slots__ = list(__props__.keys()) + ['kwargs']
7245
7246 def __init__(self, frameId, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
7247 """
7248 :param integer frameId: Restart this stackframe.
7249 """
7250 self.frameId = frameId
7251 if update_ids_from_dap:
7252 self.frameId = self._translate_id_from_dap(self.frameId)
7253 self.kwargs = kwargs
-
W293
Blank line contains whitespace
7254
-
W293
Blank line contains whitespace
7255
-
E303
Too many blank lines (2)
7256 @classmethod
7257 def update_dict_ids_from_dap(cls, dct):
7258 if 'frameId' in dct:
7259 dct['frameId'] = cls._translate_id_from_dap(dct['frameId'])
7260 return dct
7261
7262 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
7263 frameId = self.frameId
7264 if update_ids_to_dap:
7265 if frameId is not None:
7266 frameId = self._translate_id_to_dap(frameId)
7267 dct = {
7268 'frameId': frameId,
7269 }
7270 dct.update(self.kwargs)
-
W293
Blank line contains whitespace
7272
7273 @classmethod
7274 def update_dict_ids_to_dap(cls, dct):
7275 if 'frameId' in dct:
7276 dct['frameId'] = cls._translate_id_to_dap(dct['frameId'])
7277 return dct
7278
7279
7280 @register_response('restartFrame')
7281 @register
7282 class RestartFrameResponse(BaseSchema):
7283 """
-
E501
Line too long (102 > 79 characters)
7284 Response to 'restartFrame' request. This is just an acknowledgement, so no body field is required.
7285
7286 Note: automatically generated code. Do not edit manually.
7287 """
7288
7289 __props__ = {
7290 "seq": {
7291 "type": "integer",
-
E501
Line too long (155 > 79 characters)
7292 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
7293 },
7294 "type": {
7295 "type": "string",
7296 "enum": [
7297 "response"
7298 ]
7299 },
7300 "request_seq": {
7301 "type": "integer",
7302 "description": "Sequence number of the corresponding request."
7303 },
7304 "success": {
7305 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
7306 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
7307 },
7308 "command": {
7309 "type": "string",
7310 "description": "The command requested."
7311 },
7312 "message": {
7313 "type": "string",
-
E501
Line too long (201 > 79 characters)
7314 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
7315 "_enum": [
7316 "cancelled"
7317 ],
7318 "enumDescriptions": [
7319 "request was cancelled."
7320 ]
7321 },
7322 "body": {
7323 "type": [
7324 "array",
7325 "boolean",
7326 "integer",
7327 "null",
7328 "number",
7329 "object",
7330 "string"
7331 ],
-
E501
Line too long (119 > 79 characters)
7332 "description": "Contains request result if success is true and optional error details if success is false."
7333 }
7334 }
7335 __refs__ = set()
7336
7337 __slots__ = list(__props__.keys()) + ['kwargs']
7338
7339 def __init__(self, request_seq, success, command, seq=-1, message=None, body=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
7340 """
-
E501
Line too long (81 > 79 characters)
7342 :param integer request_seq: Sequence number of the corresponding request.
7343 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
7344 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
7345 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
7346 :param string command: The command requested.
-
E501
Line too long (154 > 79 characters)
7347 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
7348 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
7349 This raw error might be interpreted by the frontend and is not shown in the UI.
7350 Some predefined values exist.
-
E501
Line too long (181 > 79 characters)
7351 :param ['array', 'boolean', 'integer', 'null', 'number', 'object', 'string'] body: Contains request result if success is true and optional error details if success is false.
7352 """
7353 self.type = 'response'
7354 self.request_seq = request_seq
7355 self.success = success
7356 self.command = command
7357 self.seq = seq
7358 self.message = message
7359 self.body = body
7360 self.kwargs = kwargs
7361
7362
7363 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
7364 type = self.type # noqa (assign to builtin)
7365 request_seq = self.request_seq
7366 success = self.success
7367 command = self.command
7368 seq = self.seq
7369 message = self.message
7370 body = self.body
7371 dct = {
7372 'type': type,
7373 'request_seq': request_seq,
7374 'success': success,
7375 'command': command,
7376 'seq': seq,
7377 }
7378 if message is not None:
7379 dct['message'] = message
7380 if body is not None:
7381 dct['body'] = body
7382 dct.update(self.kwargs)
7383 return dct
7384
7385
7386 @register_request('goto')
7387 @register
7388 class GotoRequest(BaseSchema):
7389 """
7390 The request sets the location where the debuggee will continue to run.
-
W293
Blank line contains whitespace
7391
-
E501
Line too long (83 > 79 characters)
7392 This makes it possible to skip the execution of code or to executed code again.
-
W293
Blank line contains whitespace
7393
-
E501
Line too long (90 > 79 characters)
7394 The code between the current location and the goto target is not executed but skipped.
-
W293
Blank line contains whitespace
7395
-
E501
Line too long (93 > 79 characters)
7396 The debug adapter first sends the response and then a 'stopped' event with reason 'goto'.
-
W293
Blank line contains whitespace
7397
-
E501
Line too long (96 > 79 characters)
7398 Clients should only call this request if the capability 'supportsGotoTargetsRequest' is true
7399 (because only then goto targets exist that can be passed as arguments).
7400
7401 Note: automatically generated code. Do not edit manually.
7402 """
7403
7404 __props__ = {
7405 "seq": {
7406 "type": "integer",
-
E501
Line too long (155 > 79 characters)
7407 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
7408 },
7409 "type": {
7410 "type": "string",
7411 "enum": [
7412 "request"
7413 ]
7414 },
7415 "command": {
7416 "type": "string",
7417 "enum": [
7418 "goto"
7419 ]
7420 },
7421 "arguments": {
7422 "type": "GotoArguments"
7423 }
7424 }
7425 __refs__ = set(['arguments'])
7426
7427 __slots__ = list(__props__.keys()) + ['kwargs']
7428
7429 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
7430 """
7432 :param string command:
7433 :param GotoArguments arguments:
-
E501
Line too long (154 > 79 characters)
7434 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
7435 """
7436 self.type = 'request'
7437 self.command = 'goto'
7438 if arguments is None:
7439 self.arguments = GotoArguments()
7440 else:
-
E501
Line too long (152 > 79 characters)
-
E222
Multiple spaces after operator
7441 self.arguments = GotoArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != GotoArguments else arguments
7442 self.seq = seq
7443 self.kwargs = kwargs
7444
7445
7446 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
7447 type = self.type # noqa (assign to builtin)
7448 command = self.command
7449 arguments = self.arguments
7450 seq = self.seq
7451 dct = {
7452 'type': type,
7453 'command': command,
-
E501
Line too long (80 > 79 characters)
7454 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
7455 'seq': seq,
7456 }
7457 dct.update(self.kwargs)
7458 return dct
7459
7460
7461 @register
7462 class GotoArguments(BaseSchema):
7463 """
7464 Arguments for 'goto' request.
7465
7466 Note: automatically generated code. Do not edit manually.
7467 """
7468
7469 __props__ = {
7470 "threadId": {
7471 "type": "integer",
7472 "description": "Set the goto target for this thread."
7473 },
7474 "targetId": {
7475 "type": "integer",
-
E501
Line too long (82 > 79 characters)
7476 "description": "The location where the debuggee will continue to run."
7477 }
7478 }
7479 __refs__ = set()
7480
7481 __slots__ = list(__props__.keys()) + ['kwargs']
7482
7483 def __init__(self, threadId, targetId, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
7484 """
7485 :param integer threadId: Set the goto target for this thread.
-
E501
Line too long (86 > 79 characters)
7486 :param integer targetId: The location where the debuggee will continue to run.
7487 """
7488 self.threadId = threadId
7489 self.targetId = targetId
7490 if update_ids_from_dap:
7491 self.threadId = self._translate_id_from_dap(self.threadId)
7492 self.kwargs = kwargs
-
W293
Blank line contains whitespace
7493
-
W293
Blank line contains whitespace
7494
-
E303
Too many blank lines (2)
7495 @classmethod
7496 def update_dict_ids_from_dap(cls, dct):
7497 if 'threadId' in dct:
7498 dct['threadId'] = cls._translate_id_from_dap(dct['threadId'])
7499 return dct
7500
7501 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
7502 threadId = self.threadId
7503 targetId = self.targetId
7504 if update_ids_to_dap:
7505 if threadId is not None:
7506 threadId = self._translate_id_to_dap(threadId)
7507 dct = {
7508 'threadId': threadId,
7509 'targetId': targetId,
7510 }
7511 dct.update(self.kwargs)
-
W293
Blank line contains whitespace
7513
7514 @classmethod
7515 def update_dict_ids_to_dap(cls, dct):
7516 if 'threadId' in dct:
7517 dct['threadId'] = cls._translate_id_to_dap(dct['threadId'])
7518 return dct
7519
7520
7521 @register_response('goto')
7522 @register
7523 class GotoResponse(BaseSchema):
7524 """
-
E501
Line too long (94 > 79 characters)
7525 Response to 'goto' request. This is just an acknowledgement, so no body field is required.
7526
7527 Note: automatically generated code. Do not edit manually.
7528 """
7529
7530 __props__ = {
7531 "seq": {
7532 "type": "integer",
-
E501
Line too long (155 > 79 characters)
7533 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
7534 },
7535 "type": {
7536 "type": "string",
7537 "enum": [
7538 "response"
7539 ]
7540 },
7541 "request_seq": {
7542 "type": "integer",
7543 "description": "Sequence number of the corresponding request."
7544 },
7545 "success": {
7546 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
7547 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
7548 },
7549 "command": {
7550 "type": "string",
7551 "description": "The command requested."
7552 },
7553 "message": {
7554 "type": "string",
-
E501
Line too long (201 > 79 characters)
7555 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
7556 "_enum": [
7557 "cancelled"
7558 ],
7559 "enumDescriptions": [
7560 "request was cancelled."
7561 ]
7562 },
7563 "body": {
7564 "type": [
7565 "array",
7566 "boolean",
7567 "integer",
7568 "null",
7569 "number",
7570 "object",
7571 "string"
7572 ],
-
E501
Line too long (119 > 79 characters)
7573 "description": "Contains request result if success is true and optional error details if success is false."
7574 }
7575 }
7576 __refs__ = set()
7577
7578 __slots__ = list(__props__.keys()) + ['kwargs']
7579
7580 def __init__(self, request_seq, success, command, seq=-1, message=None, body=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
7581 """
-
E501
Line too long (81 > 79 characters)
7583 :param integer request_seq: Sequence number of the corresponding request.
7584 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
7585 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
7586 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
7587 :param string command: The command requested.
-
E501
Line too long (154 > 79 characters)
7588 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
7589 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
7590 This raw error might be interpreted by the frontend and is not shown in the UI.
7591 Some predefined values exist.
-
E501
Line too long (181 > 79 characters)
7592 :param ['array', 'boolean', 'integer', 'null', 'number', 'object', 'string'] body: Contains request result if success is true and optional error details if success is false.
7593 """
7594 self.type = 'response'
7595 self.request_seq = request_seq
7596 self.success = success
7597 self.command = command
7598 self.seq = seq
7599 self.message = message
7600 self.body = body
7601 self.kwargs = kwargs
7602
7603
7604 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
7605 type = self.type # noqa (assign to builtin)
7606 request_seq = self.request_seq
7607 success = self.success
7608 command = self.command
7609 seq = self.seq
7610 message = self.message
7611 body = self.body
7612 dct = {
7613 'type': type,
7614 'request_seq': request_seq,
7615 'success': success,
7616 'command': command,
7617 'seq': seq,
7618 }
7619 if message is not None:
7620 dct['message'] = message
7621 if body is not None:
7622 dct['body'] = body
7623 dct.update(self.kwargs)
7624 return dct
7625
7626
7627 @register_request('pause')
7628 @register
7629 class PauseRequest(BaseSchema):
7630 """
7631 The request suspends the debuggee.
-
W293
Blank line contains whitespace
7632
-
E501
Line too long (101 > 79 characters)
7633 The debug adapter first sends the response and then a 'stopped' event (with reason 'pause') after
7634 the thread has been paused successfully.
7635
7636 Note: automatically generated code. Do not edit manually.
7637 """
7638
7639 __props__ = {
7640 "seq": {
7641 "type": "integer",
-
E501
Line too long (155 > 79 characters)
7642 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
7643 },
7644 "type": {
7645 "type": "string",
7646 "enum": [
7647 "request"
7648 ]
7649 },
7650 "command": {
7651 "type": "string",
7652 "enum": [
7653 "pause"
7654 ]
7655 },
7656 "arguments": {
7657 "type": "PauseArguments"
7658 }
7659 }
7660 __refs__ = set(['arguments'])
7661
7662 __slots__ = list(__props__.keys()) + ['kwargs']
7663
7664 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
7665 """
7667 :param string command:
7668 :param PauseArguments arguments:
-
E501
Line too long (154 > 79 characters)
7669 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
7670 """
7671 self.type = 'request'
7672 self.command = 'pause'
7673 if arguments is None:
7674 self.arguments = PauseArguments()
7675 else:
-
E501
Line too long (154 > 79 characters)
-
E222
Multiple spaces after operator
7676 self.arguments = PauseArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != PauseArguments else arguments
7677 self.seq = seq
7678 self.kwargs = kwargs
7679
7680
7681 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
7682 type = self.type # noqa (assign to builtin)
7683 command = self.command
7684 arguments = self.arguments
7685 seq = self.seq
7686 dct = {
7687 'type': type,
7688 'command': command,
-
E501
Line too long (80 > 79 characters)
7689 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
7690 'seq': seq,
7691 }
7692 dct.update(self.kwargs)
7693 return dct
7694
7695
7696 @register
7697 class PauseArguments(BaseSchema):
7698 """
7699 Arguments for 'pause' request.
7700
7701 Note: automatically generated code. Do not edit manually.
7702 """
7703
7704 __props__ = {
7705 "threadId": {
7706 "type": "integer",
7707 "description": "Pause execution for this thread."
7708 }
7709 }
7710 __refs__ = set()
7711
7712 __slots__ = list(__props__.keys()) + ['kwargs']
7713
7714 def __init__(self, threadId, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
7715 """
7716 :param integer threadId: Pause execution for this thread.
7717 """
7718 self.threadId = threadId
7719 if update_ids_from_dap:
7720 self.threadId = self._translate_id_from_dap(self.threadId)
7721 self.kwargs = kwargs
-
W293
Blank line contains whitespace
7722
-
W293
Blank line contains whitespace
7723
-
E303
Too many blank lines (2)
7724 @classmethod
7725 def update_dict_ids_from_dap(cls, dct):
7726 if 'threadId' in dct:
7727 dct['threadId'] = cls._translate_id_from_dap(dct['threadId'])
7728 return dct
7729
7730 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
7731 threadId = self.threadId
7732 if update_ids_to_dap:
7733 if threadId is not None:
7734 threadId = self._translate_id_to_dap(threadId)
7735 dct = {
7736 'threadId': threadId,
7737 }
7738 dct.update(self.kwargs)
-
W293
Blank line contains whitespace
7740
7741 @classmethod
7742 def update_dict_ids_to_dap(cls, dct):
7743 if 'threadId' in dct:
7744 dct['threadId'] = cls._translate_id_to_dap(dct['threadId'])
7745 return dct
7746
7747
7748 @register_response('pause')
7749 @register
7750 class PauseResponse(BaseSchema):
7751 """
-
E501
Line too long (95 > 79 characters)
7752 Response to 'pause' request. This is just an acknowledgement, so no body field is required.
7753
7754 Note: automatically generated code. Do not edit manually.
7755 """
7756
7757 __props__ = {
7758 "seq": {
7759 "type": "integer",
-
E501
Line too long (155 > 79 characters)
7760 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
7761 },
7762 "type": {
7763 "type": "string",
7764 "enum": [
7765 "response"
7766 ]
7767 },
7768 "request_seq": {
7769 "type": "integer",
7770 "description": "Sequence number of the corresponding request."
7771 },
7772 "success": {
7773 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
7774 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
7775 },
7776 "command": {
7777 "type": "string",
7778 "description": "The command requested."
7779 },
7780 "message": {
7781 "type": "string",
-
E501
Line too long (201 > 79 characters)
7782 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
7783 "_enum": [
7784 "cancelled"
7785 ],
7786 "enumDescriptions": [
7787 "request was cancelled."
7788 ]
7789 },
7790 "body": {
7791 "type": [
7792 "array",
7793 "boolean",
7794 "integer",
7795 "null",
7796 "number",
7797 "object",
7798 "string"
7799 ],
-
E501
Line too long (119 > 79 characters)
7800 "description": "Contains request result if success is true and optional error details if success is false."
7801 }
7802 }
7803 __refs__ = set()
7804
7805 __slots__ = list(__props__.keys()) + ['kwargs']
7806
7807 def __init__(self, request_seq, success, command, seq=-1, message=None, body=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
7808 """
-
E501
Line too long (81 > 79 characters)
7810 :param integer request_seq: Sequence number of the corresponding request.
7811 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
7812 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
7813 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
7814 :param string command: The command requested.
-
E501
Line too long (154 > 79 characters)
7815 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
7816 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
7817 This raw error might be interpreted by the frontend and is not shown in the UI.
7818 Some predefined values exist.
-
E501
Line too long (181 > 79 characters)
7819 :param ['array', 'boolean', 'integer', 'null', 'number', 'object', 'string'] body: Contains request result if success is true and optional error details if success is false.
7820 """
7821 self.type = 'response'
7822 self.request_seq = request_seq
7823 self.success = success
7824 self.command = command
7825 self.seq = seq
7826 self.message = message
7827 self.body = body
7828 self.kwargs = kwargs
7829
7830
7831 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
7832 type = self.type # noqa (assign to builtin)
7833 request_seq = self.request_seq
7834 success = self.success
7835 command = self.command
7836 seq = self.seq
7837 message = self.message
7838 body = self.body
7839 dct = {
7840 'type': type,
7841 'request_seq': request_seq,
7842 'success': success,
7843 'command': command,
7844 'seq': seq,
7845 }
7846 if message is not None:
7847 dct['message'] = message
7848 if body is not None:
7849 dct['body'] = body
7850 dct.update(self.kwargs)
7851 return dct
7852
7853
7854 @register_request('stackTrace')
7855 @register
7856 class StackTraceRequest(BaseSchema):
7857 """
-
E501
Line too long (88 > 79 characters)
7858 The request returns a stacktrace from the current execution state of a given thread.
-
W293
Blank line contains whitespace
7859
-
E501
Line too long (94 > 79 characters)
7860 A client can request all stack frames by omitting the startFrame and levels arguments. For
-
E501
Line too long (95 > 79 characters)
7861 performance conscious clients and if the debug adapter's 'supportsDelayedStackTraceLoading'
-
E501
Line too long (103 > 79 characters)
7862 capability is true, stack frames can be retrieved in a piecemeal way with the startFrame and levels
-
E501
Line too long (102 > 79 characters)
7863 arguments. The response of the stackTrace request may contain a totalFrames property that hints at
-
E501
Line too long (104 > 79 characters)
7864 the total number of frames in the stack. If a client needs this total number upfront, it can issue a
-
E501
Line too long (103 > 79 characters)
7865 request for a single (first) frame and depending on the value of totalFrames decide how to proceed.
-
E501
Line too long (94 > 79 characters)
7866 In any case a client should be prepared to receive less frames than requested, which is an
7867 indication that the end of the stack has been reached.
7868
7869 Note: automatically generated code. Do not edit manually.
7870 """
7871
7872 __props__ = {
7873 "seq": {
7874 "type": "integer",
-
E501
Line too long (155 > 79 characters)
7875 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
7876 },
7877 "type": {
7878 "type": "string",
7879 "enum": [
7880 "request"
7881 ]
7882 },
7883 "command": {
7884 "type": "string",
7885 "enum": [
7886 "stackTrace"
7887 ]
7888 },
7889 "arguments": {
7890 "type": "StackTraceArguments"
7891 }
7892 }
7893 __refs__ = set(['arguments'])
7894
7895 __slots__ = list(__props__.keys()) + ['kwargs']
7896
7897 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
7898 """
7900 :param string command:
7901 :param StackTraceArguments arguments:
-
E501
Line too long (154 > 79 characters)
7902 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
7903 """
7904 self.type = 'request'
7905 self.command = 'stackTrace'
7906 if arguments is None:
7907 self.arguments = StackTraceArguments()
7908 else:
-
E501
Line too long (164 > 79 characters)
-
E222
Multiple spaces after operator
7909 self.arguments = StackTraceArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != StackTraceArguments else arguments
7910 self.seq = seq
7911 self.kwargs = kwargs
7912
7913
7914 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
7915 type = self.type # noqa (assign to builtin)
7916 command = self.command
7917 arguments = self.arguments
7918 seq = self.seq
7919 dct = {
7920 'type': type,
7921 'command': command,
-
E501
Line too long (80 > 79 characters)
7922 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
7923 'seq': seq,
7924 }
7925 dct.update(self.kwargs)
7926 return dct
7927
7928
7929 @register
7930 class StackTraceArguments(BaseSchema):
7931 """
7932 Arguments for 'stackTrace' request.
7933
7934 Note: automatically generated code. Do not edit manually.
7935 """
7936
7937 __props__ = {
7938 "threadId": {
7939 "type": "integer",
7940 "description": "Retrieve the stacktrace for this thread."
7941 },
7942 "startFrame": {
7943 "type": "integer",
-
E501
Line too long (98 > 79 characters)
7944 "description": "The index of the first frame to return; if omitted frames start at 0."
7945 },
7946 "levels": {
7947 "type": "integer",
-
E501
Line too long (126 > 79 characters)
7948 "description": "The maximum number of frames to return. If levels is not specified or 0, all frames are returned."
7949 },
7950 "format": {
-
E501
Line too long (192 > 79 characters)
7951 "description": "Specifies details on how to format the stack frames.\nThe attribute is only honored by a debug adapter if the capability 'supportsValueFormattingOptions' is true.",
7952 "type": "StackFrameFormat"
7953 }
7954 }
7955 __refs__ = set(['format'])
7956
7957 __slots__ = list(__props__.keys()) + ['kwargs']
7958
7959 def __init__(self, threadId, startFrame=None, levels=None, format=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
7960 """
7961 :param integer threadId: Retrieve the stacktrace for this thread.
-
E501
Line too long (104 > 79 characters)
7962 :param integer startFrame: The index of the first frame to return; if omitted frames start at 0.
-
E501
Line too long (128 > 79 characters)
7963 :param integer levels: The maximum number of frames to return. If levels is not specified or 0, all frames are returned.
-
E501
Line too long (92 > 79 characters)
7964 :param StackFrameFormat format: Specifies details on how to format the stack frames.
-
E501
Line too long (116 > 79 characters)
7965 The attribute is only honored by a debug adapter if the capability 'supportsValueFormattingOptions' is true.
7966 """
7967 self.threadId = threadId
7968 self.startFrame = startFrame
7969 self.levels = levels
7970 if format is None:
7971 self.format = StackFrameFormat()
7972 else:
-
E501
Line too long (146 > 79 characters)
-
E222
Multiple spaces after operator
7973 self.format = StackFrameFormat(update_ids_from_dap=update_ids_from_dap, **format) if format.__class__ != StackFrameFormat else format
7974 if update_ids_from_dap:
7975 self.threadId = self._translate_id_from_dap(self.threadId)
7976 self.kwargs = kwargs
-
W293
Blank line contains whitespace
7977
-
W293
Blank line contains whitespace
7978
-
E303
Too many blank lines (2)
7979 @classmethod
7980 def update_dict_ids_from_dap(cls, dct):
7981 if 'threadId' in dct:
7982 dct['threadId'] = cls._translate_id_from_dap(dct['threadId'])
7983 return dct
7984
7985 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
7986 threadId = self.threadId
7987 startFrame = self.startFrame
7988 levels = self.levels
7989 format = self.format # noqa (assign to builtin)
7990 if update_ids_to_dap:
7991 if threadId is not None:
7992 threadId = self._translate_id_to_dap(threadId)
7993 dct = {
7994 'threadId': threadId,
7995 }
7996 if startFrame is not None:
7997 dct['startFrame'] = startFrame
7998 if levels is not None:
7999 dct['levels'] = levels
8000 if format is not None:
8001 dct['format'] = format.to_dict(update_ids_to_dap=update_ids_to_dap)
8002 dct.update(self.kwargs)
-
W293
Blank line contains whitespace
8004
8005 @classmethod
8006 def update_dict_ids_to_dap(cls, dct):
8007 if 'threadId' in dct:
8008 dct['threadId'] = cls._translate_id_to_dap(dct['threadId'])
8009 return dct
8010
8011
8012 @register_response('stackTrace')
8013 @register
8014 class StackTraceResponse(BaseSchema):
8015 """
8016 Response to 'stackTrace' request.
8017
8018 Note: automatically generated code. Do not edit manually.
8019 """
8020
8021 __props__ = {
8022 "seq": {
8023 "type": "integer",
-
E501
Line too long (155 > 79 characters)
8024 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
8025 },
8026 "type": {
8027 "type": "string",
8028 "enum": [
8029 "response"
8030 ]
8031 },
8032 "request_seq": {
8033 "type": "integer",
8034 "description": "Sequence number of the corresponding request."
8035 },
8036 "success": {
8037 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
8038 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
8039 },
8040 "command": {
8041 "type": "string",
8042 "description": "The command requested."
8043 },
8044 "message": {
8045 "type": "string",
-
E501
Line too long (201 > 79 characters)
8046 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
8047 "_enum": [
8048 "cancelled"
8049 ],
8050 "enumDescriptions": [
8051 "request was cancelled."
8052 ]
8053 },
8054 "body": {
8055 "type": "object",
8056 "properties": {
8057 "stackFrames": {
8058 "type": "array",
8059 "items": {
8060 "$ref": "#/definitions/StackFrame"
8061 },
-
E501
Line too long (193 > 79 characters)
8062 "description": "The frames of the stackframe. If the array has length zero, there are no stackframes available.\nThis means that there is no location information available."
8063 },
8064 "totalFrames": {
8065 "type": "integer",
-
E501
Line too long (406 > 79 characters)
8066 "description": "The total number of frames available in the stack. If omitted or if totalFrames is larger than the available frames, a client is expected to request frames until a request returns less frames than requested (which indicates the end of the stack). Returning monotonically increasing totalFrames values for subsequent requests can be used to enforce paging in the client."
8067 }
8068 },
8069 "required": [
8070 "stackFrames"
8071 ]
8072 }
8073 }
8074 __refs__ = set(['body'])
8075
8076 __slots__ = list(__props__.keys()) + ['kwargs']
8077
8078 def __init__(self, request_seq, success, command, body, seq=-1, message=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
8079 """
-
E501
Line too long (81 > 79 characters)
8081 :param integer request_seq: Sequence number of the corresponding request.
8082 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
8083 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
8084 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
8085 :param string command: The command requested.
8086 :param StackTraceResponseBody body:
-
E501
Line too long (154 > 79 characters)
8087 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
8088 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
8089 This raw error might be interpreted by the frontend and is not shown in the UI.
8090 Some predefined values exist.
8091 """
8092 self.type = 'response'
8093 self.request_seq = request_seq
8094 self.success = success
8095 self.command = command
8096 if body is None:
8097 self.body = StackTraceResponseBody()
8098 else:
-
E501
Line too long (150 > 79 characters)
-
E222
Multiple spaces after operator
8099 self.body = StackTraceResponseBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != StackTraceResponseBody else body
8100 self.seq = seq
8101 self.message = message
8102 self.kwargs = kwargs
8103
8104
8105 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
8106 type = self.type # noqa (assign to builtin)
8107 request_seq = self.request_seq
8108 success = self.success
8109 command = self.command
8110 body = self.body
8111 seq = self.seq
8112 message = self.message
8113 dct = {
8114 'type': type,
8115 'request_seq': request_seq,
8116 'success': success,
8117 'command': command,
8118 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
8119 'seq': seq,
8120 }
8121 if message is not None:
8122 dct['message'] = message
8123 dct.update(self.kwargs)
8124 return dct
8125
8126
8127 @register_request('scopes')
8128 @register
8129 class ScopesRequest(BaseSchema):
8130 """
8131 The request returns the variable scopes for a given stackframe ID.
8132
8133 Note: automatically generated code. Do not edit manually.
8134 """
8135
8136 __props__ = {
8137 "seq": {
8138 "type": "integer",
-
E501
Line too long (155 > 79 characters)
8139 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
8140 },
8141 "type": {
8142 "type": "string",
8143 "enum": [
8144 "request"
8145 ]
8146 },
8147 "command": {
8148 "type": "string",
8149 "enum": [
8150 "scopes"
8151 ]
8152 },
8153 "arguments": {
8154 "type": "ScopesArguments"
8155 }
8156 }
8157 __refs__ = set(['arguments'])
8158
8159 __slots__ = list(__props__.keys()) + ['kwargs']
8160
8161 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
8162 """
8164 :param string command:
8165 :param ScopesArguments arguments:
-
E501
Line too long (154 > 79 characters)
8166 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
8167 """
8168 self.type = 'request'
8169 self.command = 'scopes'
8170 if arguments is None:
8171 self.arguments = ScopesArguments()
8172 else:
-
E501
Line too long (156 > 79 characters)
-
E222
Multiple spaces after operator
8173 self.arguments = ScopesArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != ScopesArguments else arguments
8174 self.seq = seq
8175 self.kwargs = kwargs
8176
8177
8178 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
8179 type = self.type # noqa (assign to builtin)
8180 command = self.command
8181 arguments = self.arguments
8182 seq = self.seq
8183 dct = {
8184 'type': type,
8185 'command': command,
-
E501
Line too long (80 > 79 characters)
8186 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
8187 'seq': seq,
8188 }
8189 dct.update(self.kwargs)
8190 return dct
8191
8192
8193 @register
8194 class ScopesArguments(BaseSchema):
8195 """
8196 Arguments for 'scopes' request.
8197
8198 Note: automatically generated code. Do not edit manually.
8199 """
8200
8201 __props__ = {
8202 "frameId": {
8203 "type": "integer",
8204 "description": "Retrieve the scopes for this stackframe."
8205 }
8206 }
8207 __refs__ = set()
8208
8209 __slots__ = list(__props__.keys()) + ['kwargs']
8210
8211 def __init__(self, frameId, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
8212 """
8213 :param integer frameId: Retrieve the scopes for this stackframe.
8214 """
8215 self.frameId = frameId
8216 if update_ids_from_dap:
8217 self.frameId = self._translate_id_from_dap(self.frameId)
8218 self.kwargs = kwargs
-
W293
Blank line contains whitespace
8219
-
W293
Blank line contains whitespace
8220
-
E303
Too many blank lines (2)
8221 @classmethod
8222 def update_dict_ids_from_dap(cls, dct):
8223 if 'frameId' in dct:
8224 dct['frameId'] = cls._translate_id_from_dap(dct['frameId'])
8225 return dct
8226
8227 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
8228 frameId = self.frameId
8229 if update_ids_to_dap:
8230 if frameId is not None:
8231 frameId = self._translate_id_to_dap(frameId)
8232 dct = {
8233 'frameId': frameId,
8234 }
8235 dct.update(self.kwargs)
-
W293
Blank line contains whitespace
8237
8238 @classmethod
8239 def update_dict_ids_to_dap(cls, dct):
8240 if 'frameId' in dct:
8241 dct['frameId'] = cls._translate_id_to_dap(dct['frameId'])
8242 return dct
8243
8244
8245 @register_response('scopes')
8246 @register
8247 class ScopesResponse(BaseSchema):
8248 """
8249 Response to 'scopes' request.
8250
8251 Note: automatically generated code. Do not edit manually.
8252 """
8253
8254 __props__ = {
8255 "seq": {
8256 "type": "integer",
-
E501
Line too long (155 > 79 characters)
8257 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
8258 },
8259 "type": {
8260 "type": "string",
8261 "enum": [
8262 "response"
8263 ]
8264 },
8265 "request_seq": {
8266 "type": "integer",
8267 "description": "Sequence number of the corresponding request."
8268 },
8269 "success": {
8270 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
8271 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
8272 },
8273 "command": {
8274 "type": "string",
8275 "description": "The command requested."
8276 },
8277 "message": {
8278 "type": "string",
-
E501
Line too long (201 > 79 characters)
8279 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
8280 "_enum": [
8281 "cancelled"
8282 ],
8283 "enumDescriptions": [
8284 "request was cancelled."
8285 ]
8286 },
8287 "body": {
8288 "type": "object",
8289 "properties": {
8290 "scopes": {
8291 "type": "array",
8292 "items": {
8293 "$ref": "#/definitions/Scope"
8294 },
-
E501
Line too long (127 > 79 characters)
8295 "description": "The scopes of the stackframe. If the array has length zero, there are no scopes available."
8296 }
8297 },
8298 "required": [
8299 "scopes"
8300 ]
8301 }
8302 }
8303 __refs__ = set(['body'])
8304
8305 __slots__ = list(__props__.keys()) + ['kwargs']
8306
8307 def __init__(self, request_seq, success, command, body, seq=-1, message=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
8308 """
-
E501
Line too long (81 > 79 characters)
8310 :param integer request_seq: Sequence number of the corresponding request.
8311 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
8312 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
8313 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
8314 :param string command: The command requested.
8315 :param ScopesResponseBody body:
-
E501
Line too long (154 > 79 characters)
8316 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
8317 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
8318 This raw error might be interpreted by the frontend and is not shown in the UI.
8319 Some predefined values exist.
8320 """
8321 self.type = 'response'
8322 self.request_seq = request_seq
8323 self.success = success
8324 self.command = command
8325 if body is None:
8326 self.body = ScopesResponseBody()
8327 else:
-
E501
Line too long (142 > 79 characters)
-
E222
Multiple spaces after operator
8328 self.body = ScopesResponseBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != ScopesResponseBody else body
8329 self.seq = seq
8330 self.message = message
8331 self.kwargs = kwargs
8332
8333
8334 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
8335 type = self.type # noqa (assign to builtin)
8336 request_seq = self.request_seq
8337 success = self.success
8338 command = self.command
8339 body = self.body
8340 seq = self.seq
8341 message = self.message
8342 dct = {
8343 'type': type,
8344 'request_seq': request_seq,
8345 'success': success,
8346 'command': command,
8347 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
8348 'seq': seq,
8349 }
8350 if message is not None:
8351 dct['message'] = message
8352 dct.update(self.kwargs)
8353 return dct
8354
8355
8356 @register_request('variables')
8357 @register
8358 class VariablesRequest(BaseSchema):
8359 """
8360 Retrieves all child variables for the given variable reference.
-
W293
Blank line contains whitespace
8361
-
E501
Line too long (101 > 79 characters)
8362 An optional filter can be used to limit the fetched children to either named or indexed children.
8363
8364 Note: automatically generated code. Do not edit manually.
8365 """
8366
8367 __props__ = {
8368 "seq": {
8369 "type": "integer",
-
E501
Line too long (155 > 79 characters)
8370 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
8371 },
8372 "type": {
8373 "type": "string",
8374 "enum": [
8375 "request"
8376 ]
8377 },
8378 "command": {
8379 "type": "string",
8380 "enum": [
8381 "variables"
8382 ]
8383 },
8384 "arguments": {
8385 "type": "VariablesArguments"
8386 }
8387 }
8388 __refs__ = set(['arguments'])
8389
8390 __slots__ = list(__props__.keys()) + ['kwargs']
8391
8392 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
8393 """
8395 :param string command:
8396 :param VariablesArguments arguments:
-
E501
Line too long (154 > 79 characters)
8397 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
8398 """
8399 self.type = 'request'
8400 self.command = 'variables'
8401 if arguments is None:
8402 self.arguments = VariablesArguments()
8403 else:
-
E501
Line too long (162 > 79 characters)
-
E222
Multiple spaces after operator
8404 self.arguments = VariablesArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != VariablesArguments else arguments
8405 self.seq = seq
8406 self.kwargs = kwargs
8407
8408
8409 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
8410 type = self.type # noqa (assign to builtin)
8411 command = self.command
8412 arguments = self.arguments
8413 seq = self.seq
8414 dct = {
8415 'type': type,
8416 'command': command,
-
E501
Line too long (80 > 79 characters)
8417 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
8418 'seq': seq,
8419 }
8420 dct.update(self.kwargs)
8421 return dct
8422
8423
8424 @register
8425 class VariablesArguments(BaseSchema):
8426 """
8427 Arguments for 'variables' request.
8428
8429 Note: automatically generated code. Do not edit manually.
8430 """
8431
8432 __props__ = {
8433 "variablesReference": {
8434 "type": "integer",
8435 "description": "The Variable reference."
8436 },
8437 "filter": {
8438 "type": "string",
8439 "enum": [
8440 "indexed",
8441 "named"
8442 ],
-
E501
Line too long (137 > 79 characters)
8443 "description": "Optional filter to limit the child variables to either named or indexed. If omitted, both types are fetched."
8444 },
8445 "start": {
8446 "type": "integer",
-
E501
Line too long (103 > 79 characters)
8447 "description": "The index of the first variable to return; if omitted children start at 0."
8448 },
8449 "count": {
8450 "type": "integer",
-
E501
Line too long (117 > 79 characters)
8451 "description": "The number of variables to return. If count is missing or 0, all variables are returned."
8452 },
8453 "format": {
-
E501
Line too long (195 > 79 characters)
8454 "description": "Specifies details on how to format the Variable values.\nThe attribute is only honored by a debug adapter if the capability 'supportsValueFormattingOptions' is true.",
8455 "type": "ValueFormat"
8456 }
8457 }
8458 __refs__ = set(['format'])
8459
8460 __slots__ = list(__props__.keys()) + ['kwargs']
8461
8462 def __init__(self, variablesReference, filter=None, start=None, count=None, format=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
8463 """
8464 :param integer variablesReference: The Variable reference.
-
E501
Line too long (138 > 79 characters)
8465 :param string filter: Optional filter to limit the child variables to either named or indexed. If omitted, both types are fetched.
-
E501
Line too long (104 > 79 characters)
8466 :param integer start: The index of the first variable to return; if omitted children start at 0.
-
E501
Line too long (118 > 79 characters)
8467 :param integer count: The number of variables to return. If count is missing or 0, all variables are returned.
-
E501
Line too long (90 > 79 characters)
8468 :param ValueFormat format: Specifies details on how to format the Variable values.
-
E501
Line too long (116 > 79 characters)
8469 The attribute is only honored by a debug adapter if the capability 'supportsValueFormattingOptions' is true.
8470 """
8471 self.variablesReference = variablesReference
8472 self.filter = filter
8473 self.start = start
8474 self.count = count
8475 if format is None:
8476 self.format = ValueFormat()
8477 else:
-
E501
Line too long (136 > 79 characters)
-
E222
Multiple spaces after operator
8478 self.format = ValueFormat(update_ids_from_dap=update_ids_from_dap, **format) if format.__class__ != ValueFormat else format
8479 if update_ids_from_dap:
-
E501
Line too long (90 > 79 characters)
8480 self.variablesReference = self._translate_id_from_dap(self.variablesReference)
8481 self.kwargs = kwargs
-
W293
Blank line contains whitespace
8482
-
W293
Blank line contains whitespace
8483
-
E303
Too many blank lines (2)
8484 @classmethod
8485 def update_dict_ids_from_dap(cls, dct):
8486 if 'variablesReference' in dct:
-
E501
Line too long (93 > 79 characters)
8487 dct['variablesReference'] = cls._translate_id_from_dap(dct['variablesReference'])
8488 return dct
8489
8490 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
8491 variablesReference = self.variablesReference
8492 filter = self.filter # noqa (assign to builtin)
8493 start = self.start
8494 count = self.count
8495 format = self.format # noqa (assign to builtin)
8496 if update_ids_to_dap:
8497 if variablesReference is not None:
-
E501
Line too long (82 > 79 characters)
8498 variablesReference = self._translate_id_to_dap(variablesReference)
8499 dct = {
8500 'variablesReference': variablesReference,
8501 }
8502 if filter is not None:
8503 dct['filter'] = filter
8504 if start is not None:
8505 dct['start'] = start
8506 if count is not None:
8507 dct['count'] = count
8508 if format is not None:
8509 dct['format'] = format.to_dict(update_ids_to_dap=update_ids_to_dap)
8510 dct.update(self.kwargs)
-
W293
Blank line contains whitespace
8512
8513 @classmethod
8514 def update_dict_ids_to_dap(cls, dct):
8515 if 'variablesReference' in dct:
-
E501
Line too long (91 > 79 characters)
8516 dct['variablesReference'] = cls._translate_id_to_dap(dct['variablesReference'])
8517 return dct
8518
8519
8520 @register_response('variables')
8521 @register
8522 class VariablesResponse(BaseSchema):
8523 """
8524 Response to 'variables' request.
8525
8526 Note: automatically generated code. Do not edit manually.
8527 """
8528
8529 __props__ = {
8530 "seq": {
8531 "type": "integer",
-
E501
Line too long (155 > 79 characters)
8532 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
8533 },
8534 "type": {
8535 "type": "string",
8536 "enum": [
8537 "response"
8538 ]
8539 },
8540 "request_seq": {
8541 "type": "integer",
8542 "description": "Sequence number of the corresponding request."
8543 },
8544 "success": {
8545 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
8546 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
8547 },
8548 "command": {
8549 "type": "string",
8550 "description": "The command requested."
8551 },
8552 "message": {
8553 "type": "string",
-
E501
Line too long (201 > 79 characters)
8554 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
8555 "_enum": [
8556 "cancelled"
8557 ],
8558 "enumDescriptions": [
8559 "request was cancelled."
8560 ]
8561 },
8562 "body": {
8563 "type": "object",
8564 "properties": {
8565 "variables": {
8566 "type": "array",
8567 "items": {
8568 "$ref": "#/definitions/Variable"
8569 },
-
E501
Line too long (100 > 79 characters)
8570 "description": "All (or a range) of variables for the given variable reference."
8571 }
8572 },
8573 "required": [
8574 "variables"
8575 ]
8576 }
8577 }
8578 __refs__ = set(['body'])
8579
8580 __slots__ = list(__props__.keys()) + ['kwargs']
8581
8582 def __init__(self, request_seq, success, command, body, seq=-1, message=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
8583 """
-
E501
Line too long (81 > 79 characters)
8585 :param integer request_seq: Sequence number of the corresponding request.
8586 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
8587 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
8588 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
8589 :param string command: The command requested.
8590 :param VariablesResponseBody body:
-
E501
Line too long (154 > 79 characters)
8591 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
8592 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
8593 This raw error might be interpreted by the frontend and is not shown in the UI.
8594 Some predefined values exist.
8595 """
8596 self.type = 'response'
8597 self.request_seq = request_seq
8598 self.success = success
8599 self.command = command
8600 if body is None:
8601 self.body = VariablesResponseBody()
8602 else:
-
E501
Line too long (148 > 79 characters)
-
E222
Multiple spaces after operator
8603 self.body = VariablesResponseBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != VariablesResponseBody else body
8604 self.seq = seq
8605 self.message = message
8606 self.kwargs = kwargs
8607
8608
8609 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
8610 type = self.type # noqa (assign to builtin)
8611 request_seq = self.request_seq
8612 success = self.success
8613 command = self.command
8614 body = self.body
8615 seq = self.seq
8616 message = self.message
8617 dct = {
8618 'type': type,
8619 'request_seq': request_seq,
8620 'success': success,
8621 'command': command,
8622 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
8623 'seq': seq,
8624 }
8625 if message is not None:
8626 dct['message'] = message
8627 dct.update(self.kwargs)
8628 return dct
8629
8630
8631 @register_request('setVariable')
8632 @register
8633 class SetVariableRequest(BaseSchema):
8634 """
-
E501
Line too long (102 > 79 characters)
8635 Set the variable with the given name in the variable container to a new value. Clients should only
8636 call this request if the capability 'supportsSetVariable' is true.
8637
8638 Note: automatically generated code. Do not edit manually.
8639 """
8640
8641 __props__ = {
8642 "seq": {
8643 "type": "integer",
-
E501
Line too long (155 > 79 characters)
8644 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
8645 },
8646 "type": {
8647 "type": "string",
8648 "enum": [
8649 "request"
8650 ]
8651 },
8652 "command": {
8653 "type": "string",
8654 "enum": [
8655 "setVariable"
8656 ]
8657 },
8658 "arguments": {
8659 "type": "SetVariableArguments"
8660 }
8661 }
8662 __refs__ = set(['arguments'])
8663
8664 __slots__ = list(__props__.keys()) + ['kwargs']
8665
8666 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
8667 """
8669 :param string command:
8670 :param SetVariableArguments arguments:
-
E501
Line too long (154 > 79 characters)
8671 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
8672 """
8673 self.type = 'request'
8674 self.command = 'setVariable'
8675 if arguments is None:
8676 self.arguments = SetVariableArguments()
8677 else:
-
E501
Line too long (166 > 79 characters)
-
E222
Multiple spaces after operator
8678 self.arguments = SetVariableArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != SetVariableArguments else arguments
8679 self.seq = seq
8680 self.kwargs = kwargs
8681
8682
8683 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
8684 type = self.type # noqa (assign to builtin)
8685 command = self.command
8686 arguments = self.arguments
8687 seq = self.seq
8688 dct = {
8689 'type': type,
8690 'command': command,
-
E501
Line too long (80 > 79 characters)
8691 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
8692 'seq': seq,
8693 }
8694 dct.update(self.kwargs)
8695 return dct
8696
8697
8698 @register
8699 class SetVariableArguments(BaseSchema):
8700 """
8701 Arguments for 'setVariable' request.
8702
8703 Note: automatically generated code. Do not edit manually.
8704 """
8705
8706 __props__ = {
8707 "variablesReference": {
8708 "type": "integer",
8709 "description": "The reference of the variable container."
8710 },
8711 "name": {
8712 "type": "string",
8713 "description": "The name of the variable in the container."
8714 },
8715 "value": {
8716 "type": "string",
8717 "description": "The value of the variable."
8718 },
8719 "format": {
-
E501
Line too long (84 > 79 characters)
8720 "description": "Specifies details on how to format the response value.",
8721 "type": "ValueFormat"
8722 }
8723 }
8724 __refs__ = set(['format'])
8725
8726 __slots__ = list(__props__.keys()) + ['kwargs']
8727
8728 def __init__(self, variablesReference, name, value, format=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
8729 """
-
E501
Line too long (83 > 79 characters)
8730 :param integer variablesReference: The reference of the variable container.
8731 :param string name: The name of the variable in the container.
8732 :param string value: The value of the variable.
-
E501
Line too long (89 > 79 characters)
8733 :param ValueFormat format: Specifies details on how to format the response value.
8734 """
8735 self.variablesReference = variablesReference
8736 self.name = name
8737 self.value = value
8738 if format is None:
8739 self.format = ValueFormat()
8740 else:
-
E501
Line too long (136 > 79 characters)
-
E222
Multiple spaces after operator
8741 self.format = ValueFormat(update_ids_from_dap=update_ids_from_dap, **format) if format.__class__ != ValueFormat else format
8742 if update_ids_from_dap:
-
E501
Line too long (90 > 79 characters)
8743 self.variablesReference = self._translate_id_from_dap(self.variablesReference)
8744 self.kwargs = kwargs
-
W293
Blank line contains whitespace
8745
-
W293
Blank line contains whitespace
8746
-
E303
Too many blank lines (2)
8747 @classmethod
8748 def update_dict_ids_from_dap(cls, dct):
8749 if 'variablesReference' in dct:
-
E501
Line too long (93 > 79 characters)
8750 dct['variablesReference'] = cls._translate_id_from_dap(dct['variablesReference'])
8751 return dct
8752
8753 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
8754 variablesReference = self.variablesReference
8755 name = self.name
8756 value = self.value
8757 format = self.format # noqa (assign to builtin)
8758 if update_ids_to_dap:
8759 if variablesReference is not None:
-
E501
Line too long (82 > 79 characters)
8760 variablesReference = self._translate_id_to_dap(variablesReference)
8761 dct = {
8762 'variablesReference': variablesReference,
8763 'name': name,
8764 'value': value,
8765 }
8766 if format is not None:
8767 dct['format'] = format.to_dict(update_ids_to_dap=update_ids_to_dap)
8768 dct.update(self.kwargs)
-
W293
Blank line contains whitespace
8770
8771 @classmethod
8772 def update_dict_ids_to_dap(cls, dct):
8773 if 'variablesReference' in dct:
-
E501
Line too long (91 > 79 characters)
8774 dct['variablesReference'] = cls._translate_id_to_dap(dct['variablesReference'])
8775 return dct
8776
8777
8778 @register_response('setVariable')
8779 @register
8780 class SetVariableResponse(BaseSchema):
8781 """
8782 Response to 'setVariable' request.
8783
8784 Note: automatically generated code. Do not edit manually.
8785 """
8786
8787 __props__ = {
8788 "seq": {
8789 "type": "integer",
-
E501
Line too long (155 > 79 characters)
8790 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
8791 },
8792 "type": {
8793 "type": "string",
8794 "enum": [
8795 "response"
8796 ]
8797 },
8798 "request_seq": {
8799 "type": "integer",
8800 "description": "Sequence number of the corresponding request."
8801 },
8802 "success": {
8803 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
8804 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
8805 },
8806 "command": {
8807 "type": "string",
8808 "description": "The command requested."
8809 },
8810 "message": {
8811 "type": "string",
-
E501
Line too long (201 > 79 characters)
8812 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
8813 "_enum": [
8814 "cancelled"
8815 ],
8816 "enumDescriptions": [
8817 "request was cancelled."
8818 ]
8819 },
8820 "body": {
8821 "type": "object",
8822 "properties": {
8823 "value": {
8824 "type": "string",
8825 "description": "The new value of the variable."
8826 },
8827 "type": {
8828 "type": "string",
-
E501
Line too long (119 > 79 characters)
8829 "description": "The type of the new value. Typically shown in the UI when hovering over the value."
8830 },
8831 "variablesReference": {
8832 "type": "integer",
-
E501
Line too long (247 > 79 characters)
8833 "description": "If variablesReference is > 0, the new value is structured and its children can be retrieved by passing variablesReference to the VariablesRequest.\nThe value should be less than or equal to 2147483647 (2^31-1)."
8834 },
8835 "namedVariables": {
8836 "type": "integer",
-
E501
Line too long (248 > 79 characters)
8837 "description": "The number of named child variables.\nThe client can use this optional information to present the variables in a paged UI and fetch them in chunks.\nThe value should be less than or equal to 2147483647 (2^31-1)."
8838 },
8839 "indexedVariables": {
8840 "type": "integer",
-
E501
Line too long (250 > 79 characters)
8841 "description": "The number of indexed child variables.\nThe client can use this optional information to present the variables in a paged UI and fetch them in chunks.\nThe value should be less than or equal to 2147483647 (2^31-1)."
8842 }
8843 },
8844 "required": [
8845 "value"
8846 ]
8847 }
8848 }
8849 __refs__ = set(['body'])
8850
8851 __slots__ = list(__props__.keys()) + ['kwargs']
8852
8853 def __init__(self, request_seq, success, command, body, seq=-1, message=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
8854 """
-
E501
Line too long (81 > 79 characters)
8856 :param integer request_seq: Sequence number of the corresponding request.
8857 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
8858 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
8859 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
8860 :param string command: The command requested.
8861 :param SetVariableResponseBody body:
-
E501
Line too long (154 > 79 characters)
8862 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
8863 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
8864 This raw error might be interpreted by the frontend and is not shown in the UI.
8865 Some predefined values exist.
8866 """
8867 self.type = 'response'
8868 self.request_seq = request_seq
8869 self.success = success
8870 self.command = command
8871 if body is None:
8872 self.body = SetVariableResponseBody()
8873 else:
-
E501
Line too long (152 > 79 characters)
-
E222
Multiple spaces after operator
8874 self.body = SetVariableResponseBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != SetVariableResponseBody else body
8875 self.seq = seq
8876 self.message = message
8877 self.kwargs = kwargs
8878
8879
8880 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
8881 type = self.type # noqa (assign to builtin)
8882 request_seq = self.request_seq
8883 success = self.success
8884 command = self.command
8885 body = self.body
8886 seq = self.seq
8887 message = self.message
8888 dct = {
8889 'type': type,
8890 'request_seq': request_seq,
8891 'success': success,
8892 'command': command,
8893 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
8894 'seq': seq,
8895 }
8896 if message is not None:
8897 dct['message'] = message
8898 dct.update(self.kwargs)
8899 return dct
8900
8901
8902 @register_request('source')
8903 @register
8904 class SourceRequest(BaseSchema):
8905 """
8906 The request retrieves the source code for a given source reference.
8907
8908 Note: automatically generated code. Do not edit manually.
8909 """
8910
8911 __props__ = {
8912 "seq": {
8913 "type": "integer",
-
E501
Line too long (155 > 79 characters)
8914 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
8915 },
8916 "type": {
8917 "type": "string",
8918 "enum": [
8919 "request"
8920 ]
8921 },
8922 "command": {
8923 "type": "string",
8924 "enum": [
8925 "source"
8926 ]
8927 },
8928 "arguments": {
8929 "type": "SourceArguments"
8930 }
8931 }
8932 __refs__ = set(['arguments'])
8933
8934 __slots__ = list(__props__.keys()) + ['kwargs']
8935
8936 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
8937 """
8939 :param string command:
8940 :param SourceArguments arguments:
-
E501
Line too long (154 > 79 characters)
8941 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
8942 """
8943 self.type = 'request'
8944 self.command = 'source'
8945 if arguments is None:
8946 self.arguments = SourceArguments()
8947 else:
-
E501
Line too long (156 > 79 characters)
-
E222
Multiple spaces after operator
8948 self.arguments = SourceArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != SourceArguments else arguments
8949 self.seq = seq
8950 self.kwargs = kwargs
8951
8952
8953 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
8954 type = self.type # noqa (assign to builtin)
8955 command = self.command
8956 arguments = self.arguments
8957 seq = self.seq
8958 dct = {
8959 'type': type,
8960 'command': command,
-
E501
Line too long (80 > 79 characters)
8961 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
8962 'seq': seq,
8963 }
8964 dct.update(self.kwargs)
8965 return dct
8966
8967
8968 @register
8969 class SourceArguments(BaseSchema):
8970 """
8971 Arguments for 'source' request.
8972
8973 Note: automatically generated code. Do not edit manually.
8974 """
8975
8976 __props__ = {
8977 "source": {
-
E501
Line too long (131 > 79 characters)
8978 "description": "Specifies the source content to load. Either source.path or source.sourceReference must be specified.",
8979 "type": "Source"
8980 },
8981 "sourceReference": {
8982 "type": "integer",
-
E501
Line too long (207 > 79 characters)
8983 "description": "The reference to the source. This is the same as source.sourceReference.\nThis is provided for backward compatibility since old backends do not understand the 'source' attribute."
8984 }
8985 }
8986 __refs__ = set(['source'])
8987
8988 __slots__ = list(__props__.keys()) + ['kwargs']
8989
8990 def __init__(self, sourceReference, source=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
8991 """
-
E501
Line too long (112 > 79 characters)
8992 :param integer sourceReference: The reference to the source. This is the same as source.sourceReference.
-
E501
Line too long (112 > 79 characters)
8993 This is provided for backward compatibility since old backends do not understand the 'source' attribute.
-
E501
Line too long (131 > 79 characters)
8994 :param Source source: Specifies the source content to load. Either source.path or source.sourceReference must be specified.
8995 """
8996 self.sourceReference = sourceReference
8997 if source is None:
8998 self.source = Source()
8999 else:
-
E501
Line too long (126 > 79 characters)
-
E222
Multiple spaces after operator
9000 self.source = Source(update_ids_from_dap=update_ids_from_dap, **source) if source.__class__ != Source else source
9001 self.kwargs = kwargs
9002
9003
9004 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
9005 sourceReference = self.sourceReference
9006 source = self.source
9007 dct = {
9008 'sourceReference': sourceReference,
9009 }
9010 if source is not None:
9011 dct['source'] = source.to_dict(update_ids_to_dap=update_ids_to_dap)
9012 dct.update(self.kwargs)
9013 return dct
9014
9015
9016 @register_response('source')
9017 @register
9018 class SourceResponse(BaseSchema):
9019 """
9020 Response to 'source' request.
9021
9022 Note: automatically generated code. Do not edit manually.
9023 """
9024
9025 __props__ = {
9026 "seq": {
9027 "type": "integer",
-
E501
Line too long (155 > 79 characters)
9028 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
9029 },
9030 "type": {
9031 "type": "string",
9032 "enum": [
9033 "response"
9034 ]
9035 },
9036 "request_seq": {
9037 "type": "integer",
9038 "description": "Sequence number of the corresponding request."
9039 },
9040 "success": {
9041 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
9042 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
9043 },
9044 "command": {
9045 "type": "string",
9046 "description": "The command requested."
9047 },
9048 "message": {
9049 "type": "string",
-
E501
Line too long (201 > 79 characters)
9050 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
9051 "_enum": [
9052 "cancelled"
9053 ],
9054 "enumDescriptions": [
9055 "request was cancelled."
9056 ]
9057 },
9058 "body": {
9059 "type": "object",
9060 "properties": {
9061 "content": {
9062 "type": "string",
9063 "description": "Content of the source reference."
9064 },
9065 "mimeType": {
9066 "type": "string",
-
E501
Line too long (85 > 79 characters)
9067 "description": "Optional content type (mime type) of the source."
9068 }
9069 },
9070 "required": [
9071 "content"
9072 ]
9073 }
9074 }
9075 __refs__ = set(['body'])
9076
9077 __slots__ = list(__props__.keys()) + ['kwargs']
9078
9079 def __init__(self, request_seq, success, command, body, seq=-1, message=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
9080 """
-
E501
Line too long (81 > 79 characters)
9082 :param integer request_seq: Sequence number of the corresponding request.
9083 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
9084 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
9085 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
9086 :param string command: The command requested.
9087 :param SourceResponseBody body:
-
E501
Line too long (154 > 79 characters)
9088 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
9089 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
9090 This raw error might be interpreted by the frontend and is not shown in the UI.
9091 Some predefined values exist.
9092 """
9093 self.type = 'response'
9094 self.request_seq = request_seq
9095 self.success = success
9096 self.command = command
9097 if body is None:
9098 self.body = SourceResponseBody()
9099 else:
-
E501
Line too long (142 > 79 characters)
-
E222
Multiple spaces after operator
9100 self.body = SourceResponseBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != SourceResponseBody else body
9101 self.seq = seq
9102 self.message = message
9103 self.kwargs = kwargs
9104
9105
9106 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
9107 type = self.type # noqa (assign to builtin)
9108 request_seq = self.request_seq
9109 success = self.success
9110 command = self.command
9111 body = self.body
9112 seq = self.seq
9113 message = self.message
9114 dct = {
9115 'type': type,
9116 'request_seq': request_seq,
9117 'success': success,
9118 'command': command,
9119 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
9120 'seq': seq,
9121 }
9122 if message is not None:
9123 dct['message'] = message
9124 dct.update(self.kwargs)
9125 return dct
9126
9127
9128 @register_request('threads')
9129 @register
9130 class ThreadsRequest(BaseSchema):
9131 """
9132 The request retrieves a list of all threads.
9133
9134 Note: automatically generated code. Do not edit manually.
9135 """
9136
9137 __props__ = {
9138 "seq": {
9139 "type": "integer",
-
E501
Line too long (155 > 79 characters)
9140 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
9141 },
9142 "type": {
9143 "type": "string",
9144 "enum": [
9145 "request"
9146 ]
9147 },
9148 "command": {
9149 "type": "string",
9150 "enum": [
9151 "threads"
9152 ]
9153 },
9154 "arguments": {
9155 "type": [
9156 "array",
9157 "boolean",
9158 "integer",
9159 "null",
9160 "number",
9161 "object",
9162 "string"
9163 ],
9164 "description": "Object containing arguments for the command."
9165 }
9166 }
9167 __refs__ = set()
9168
9169 __slots__ = list(__props__.keys()) + ['kwargs']
9170
9171 def __init__(self, seq=-1, arguments=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
9172 """
9174 :param string command:
-
E501
Line too long (154 > 79 characters)
9175 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (140 > 79 characters)
9176 :param ['array', 'boolean', 'integer', 'null', 'number', 'object', 'string'] arguments: Object containing arguments for the command.
9177 """
9178 self.type = 'request'
9179 self.command = 'threads'
9180 self.seq = seq
9181 self.arguments = arguments
9182 self.kwargs = kwargs
9183
9184
9185 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
9186 type = self.type # noqa (assign to builtin)
9187 command = self.command
9188 seq = self.seq
9189 arguments = self.arguments
9190 dct = {
9191 'type': type,
9192 'command': command,
9193 'seq': seq,
9194 }
9195 if arguments is not None:
9196 dct['arguments'] = arguments
9197 dct.update(self.kwargs)
9198 return dct
9199
9200
9201 @register_response('threads')
9202 @register
9203 class ThreadsResponse(BaseSchema):
9204 """
9205 Response to 'threads' request.
9206
9207 Note: automatically generated code. Do not edit manually.
9208 """
9209
9210 __props__ = {
9211 "seq": {
9212 "type": "integer",
-
E501
Line too long (155 > 79 characters)
9213 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
9214 },
9215 "type": {
9216 "type": "string",
9217 "enum": [
9218 "response"
9219 ]
9220 },
9221 "request_seq": {
9222 "type": "integer",
9223 "description": "Sequence number of the corresponding request."
9224 },
9225 "success": {
9226 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
9227 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
9228 },
9229 "command": {
9230 "type": "string",
9231 "description": "The command requested."
9232 },
9233 "message": {
9234 "type": "string",
-
E501
Line too long (201 > 79 characters)
9235 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
9236 "_enum": [
9237 "cancelled"
9238 ],
9239 "enumDescriptions": [
9240 "request was cancelled."
9241 ]
9242 },
9243 "body": {
9244 "type": "object",
9245 "properties": {
9246 "threads": {
9247 "type": "array",
9248 "items": {
9249 "$ref": "#/definitions/Thread"
9250 },
9251 "description": "All threads."
9252 }
9253 },
9254 "required": [
9255 "threads"
9256 ]
9257 }
9258 }
9259 __refs__ = set(['body'])
9260
9261 __slots__ = list(__props__.keys()) + ['kwargs']
9262
9263 def __init__(self, request_seq, success, command, body, seq=-1, message=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
9264 """
-
E501
Line too long (81 > 79 characters)
9266 :param integer request_seq: Sequence number of the corresponding request.
9267 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
9268 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
9269 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
9270 :param string command: The command requested.
9271 :param ThreadsResponseBody body:
-
E501
Line too long (154 > 79 characters)
9272 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
9273 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
9274 This raw error might be interpreted by the frontend and is not shown in the UI.
9275 Some predefined values exist.
9276 """
9277 self.type = 'response'
9278 self.request_seq = request_seq
9279 self.success = success
9280 self.command = command
9281 if body is None:
9282 self.body = ThreadsResponseBody()
9283 else:
-
E501
Line too long (144 > 79 characters)
-
E222
Multiple spaces after operator
9284 self.body = ThreadsResponseBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != ThreadsResponseBody else body
9285 self.seq = seq
9286 self.message = message
9287 self.kwargs = kwargs
9288
9289
9290 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
9291 type = self.type # noqa (assign to builtin)
9292 request_seq = self.request_seq
9293 success = self.success
9294 command = self.command
9295 body = self.body
9296 seq = self.seq
9297 message = self.message
9298 dct = {
9299 'type': type,
9300 'request_seq': request_seq,
9301 'success': success,
9302 'command': command,
9303 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
9304 'seq': seq,
9305 }
9306 if message is not None:
9307 dct['message'] = message
9308 dct.update(self.kwargs)
9309 return dct
9310
9311
9312 @register_request('terminateThreads')
9313 @register
9314 class TerminateThreadsRequest(BaseSchema):
9315 """
9316 The request terminates the threads with the given ids.
-
W293
Blank line contains whitespace
9317
-
E501
Line too long (102 > 79 characters)
9318 Clients should only call this request if the capability 'supportsTerminateThreadsRequest' is true.
9319
9320 Note: automatically generated code. Do not edit manually.
9321 """
9322
9323 __props__ = {
9324 "seq": {
9325 "type": "integer",
-
E501
Line too long (155 > 79 characters)
9326 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
9327 },
9328 "type": {
9329 "type": "string",
9330 "enum": [
9331 "request"
9332 ]
9333 },
9334 "command": {
9335 "type": "string",
9336 "enum": [
9337 "terminateThreads"
9338 ]
9339 },
9340 "arguments": {
9341 "type": "TerminateThreadsArguments"
9342 }
9343 }
9344 __refs__ = set(['arguments'])
9345
9346 __slots__ = list(__props__.keys()) + ['kwargs']
9347
9348 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
9349 """
9351 :param string command:
9352 :param TerminateThreadsArguments arguments:
-
E501
Line too long (154 > 79 characters)
9353 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
9354 """
9355 self.type = 'request'
9356 self.command = 'terminateThreads'
9357 if arguments is None:
9358 self.arguments = TerminateThreadsArguments()
9359 else:
-
E501
Line too long (176 > 79 characters)
-
E222
Multiple spaces after operator
9360 self.arguments = TerminateThreadsArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != TerminateThreadsArguments else arguments
9361 self.seq = seq
9362 self.kwargs = kwargs
9363
9364
9365 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
9366 type = self.type # noqa (assign to builtin)
9367 command = self.command
9368 arguments = self.arguments
9369 seq = self.seq
9370 dct = {
9371 'type': type,
9372 'command': command,
-
E501
Line too long (80 > 79 characters)
9373 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
9374 'seq': seq,
9375 }
9376 dct.update(self.kwargs)
9377 return dct
9378
9379
9380 @register
9381 class TerminateThreadsArguments(BaseSchema):
9382 """
9383 Arguments for 'terminateThreads' request.
9384
9385 Note: automatically generated code. Do not edit manually.
9386 """
9387
9388 __props__ = {
9389 "threadIds": {
9390 "type": "array",
9391 "items": {
9392 "type": "integer"
9393 },
9394 "description": "Ids of threads to be terminated."
9395 }
9396 }
9397 __refs__ = set()
9398
9399 __slots__ = list(__props__.keys()) + ['kwargs']
9400
9401 def __init__(self, threadIds=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
9402 """
9403 :param array threadIds: Ids of threads to be terminated.
9404 """
9405 self.threadIds = threadIds
9406 self.kwargs = kwargs
9407
9408
9409 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
9410 threadIds = self.threadIds
9411 if threadIds and hasattr(threadIds[0], "to_dict"):
9412 threadIds = [x.to_dict() for x in threadIds]
9413 dct = {
9414 }
9415 if threadIds is not None:
9416 dct['threadIds'] = threadIds
9417 dct.update(self.kwargs)
9418 return dct
9419
9420
9421 @register_response('terminateThreads')
9422 @register
9423 class TerminateThreadsResponse(BaseSchema):
9424 """
-
E501
Line too long (96 > 79 characters)
9425 Response to 'terminateThreads' request. This is just an acknowledgement, so no body field is
9426 required.
9427
9428 Note: automatically generated code. Do not edit manually.
9429 """
9430
9431 __props__ = {
9432 "seq": {
9433 "type": "integer",
-
E501
Line too long (155 > 79 characters)
9434 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
9435 },
9436 "type": {
9437 "type": "string",
9438 "enum": [
9439 "response"
9440 ]
9441 },
9442 "request_seq": {
9443 "type": "integer",
9444 "description": "Sequence number of the corresponding request."
9445 },
9446 "success": {
9447 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
9448 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
9449 },
9450 "command": {
9451 "type": "string",
9452 "description": "The command requested."
9453 },
9454 "message": {
9455 "type": "string",
-
E501
Line too long (201 > 79 characters)
9456 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
9457 "_enum": [
9458 "cancelled"
9459 ],
9460 "enumDescriptions": [
9461 "request was cancelled."
9462 ]
9463 },
9464 "body": {
9465 "type": [
9466 "array",
9467 "boolean",
9468 "integer",
9469 "null",
9470 "number",
9471 "object",
9472 "string"
9473 ],
-
E501
Line too long (119 > 79 characters)
9474 "description": "Contains request result if success is true and optional error details if success is false."
9475 }
9476 }
9477 __refs__ = set()
9478
9479 __slots__ = list(__props__.keys()) + ['kwargs']
9480
9481 def __init__(self, request_seq, success, command, seq=-1, message=None, body=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
9482 """
-
E501
Line too long (81 > 79 characters)
9484 :param integer request_seq: Sequence number of the corresponding request.
9485 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
9486 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
9487 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
9488 :param string command: The command requested.
-
E501
Line too long (154 > 79 characters)
9489 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
9490 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
9491 This raw error might be interpreted by the frontend and is not shown in the UI.
9492 Some predefined values exist.
-
E501
Line too long (181 > 79 characters)
9493 :param ['array', 'boolean', 'integer', 'null', 'number', 'object', 'string'] body: Contains request result if success is true and optional error details if success is false.
9494 """
9495 self.type = 'response'
9496 self.request_seq = request_seq
9497 self.success = success
9498 self.command = command
9499 self.seq = seq
9500 self.message = message
9501 self.body = body
9502 self.kwargs = kwargs
9503
9504
9505 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
9506 type = self.type # noqa (assign to builtin)
9507 request_seq = self.request_seq
9508 success = self.success
9509 command = self.command
9510 seq = self.seq
9511 message = self.message
9512 body = self.body
9513 dct = {
9514 'type': type,
9515 'request_seq': request_seq,
9516 'success': success,
9517 'command': command,
9518 'seq': seq,
9519 }
9520 if message is not None:
9521 dct['message'] = message
9522 if body is not None:
9523 dct['body'] = body
9524 dct.update(self.kwargs)
9525 return dct
9526
9527
9528 @register_request('modules')
9529 @register
9530 class ModulesRequest(BaseSchema):
9531 """
-
E501
Line too long (97 > 79 characters)
9532 Modules can be retrieved from the debug adapter with this request which can either return all
9533 modules or a range of modules to support paging.
-
W293
Blank line contains whitespace
9534
-
E501
Line too long (93 > 79 characters)
9535 Clients should only call this request if the capability 'supportsModulesRequest' is true.
9536
9537 Note: automatically generated code. Do not edit manually.
9538 """
9539
9540 __props__ = {
9541 "seq": {
9542 "type": "integer",
-
E501
Line too long (155 > 79 characters)
9543 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
9544 },
9545 "type": {
9546 "type": "string",
9547 "enum": [
9548 "request"
9549 ]
9550 },
9551 "command": {
9552 "type": "string",
9553 "enum": [
9554 "modules"
9555 ]
9556 },
9557 "arguments": {
9558 "type": "ModulesArguments"
9559 }
9560 }
9561 __refs__ = set(['arguments'])
9562
9563 __slots__ = list(__props__.keys()) + ['kwargs']
9564
9565 def __init__(self, seq=-1, arguments=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
9566 """
9568 :param string command:
-
E501
Line too long (154 > 79 characters)
9569 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
9570 :param ModulesArguments arguments:
9571 """
9572 self.type = 'request'
9573 self.command = 'modules'
9574 self.seq = seq
9575 if arguments is None:
9576 self.arguments = ModulesArguments()
9577 else:
-
E501
Line too long (158 > 79 characters)
-
E222
Multiple spaces after operator
9578 self.arguments = ModulesArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != ModulesArguments else arguments
9579 self.kwargs = kwargs
9580
9581
9582 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
9583 type = self.type # noqa (assign to builtin)
9584 command = self.command
9585 seq = self.seq
9586 arguments = self.arguments
9587 dct = {
9588 'type': type,
9589 'command': command,
9590 'seq': seq,
9591 }
9592 if arguments is not None:
-
E501
Line too long (85 > 79 characters)
9593 dct['arguments'] = arguments.to_dict(update_ids_to_dap=update_ids_to_dap)
9594 dct.update(self.kwargs)
9595 return dct
9596
9597
9598 @register
9599 class ModulesArguments(BaseSchema):
9600 """
9601 Arguments for 'modules' request.
9602
9603 Note: automatically generated code. Do not edit manually.
9604 """
9605
9606 __props__ = {
9607 "startModule": {
9608 "type": "integer",
-
E501
Line too long (100 > 79 characters)
9609 "description": "The index of the first module to return; if omitted modules start at 0."
9610 },
9611 "moduleCount": {
9612 "type": "integer",
-
E501
Line too long (125 > 79 characters)
9613 "description": "The number of modules to return. If moduleCount is not specified or 0, all modules are returned."
9614 }
9615 }
9616 __refs__ = set()
9617
9618 __slots__ = list(__props__.keys()) + ['kwargs']
9619
9620 def __init__(self, startModule=None, moduleCount=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
9621 """
-
E501
Line too long (107 > 79 characters)
9622 :param integer startModule: The index of the first module to return; if omitted modules start at 0.
-
E501
Line too long (132 > 79 characters)
9623 :param integer moduleCount: The number of modules to return. If moduleCount is not specified or 0, all modules are returned.
9624 """
9625 self.startModule = startModule
9626 self.moduleCount = moduleCount
9627 self.kwargs = kwargs
9628
9629
9630 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
9631 startModule = self.startModule
9632 moduleCount = self.moduleCount
9633 dct = {
9634 }
9635 if startModule is not None:
9636 dct['startModule'] = startModule
9637 if moduleCount is not None:
9638 dct['moduleCount'] = moduleCount
9639 dct.update(self.kwargs)
9640 return dct
9641
9642
9643 @register_response('modules')
9644 @register
9645 class ModulesResponse(BaseSchema):
9646 """
9647 Response to 'modules' request.
9648
9649 Note: automatically generated code. Do not edit manually.
9650 """
9651
9652 __props__ = {
9653 "seq": {
9654 "type": "integer",
-
E501
Line too long (155 > 79 characters)
9655 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
9656 },
9657 "type": {
9658 "type": "string",
9659 "enum": [
9660 "response"
9661 ]
9662 },
9663 "request_seq": {
9664 "type": "integer",
9665 "description": "Sequence number of the corresponding request."
9666 },
9667 "success": {
9668 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
9669 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
9670 },
9671 "command": {
9672 "type": "string",
9673 "description": "The command requested."
9674 },
9675 "message": {
9676 "type": "string",
-
E501
Line too long (201 > 79 characters)
9677 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
9678 "_enum": [
9679 "cancelled"
9680 ],
9681 "enumDescriptions": [
9682 "request was cancelled."
9683 ]
9684 },
9685 "body": {
9686 "type": "object",
9687 "properties": {
9688 "modules": {
9689 "type": "array",
9690 "items": {
9691 "$ref": "#/definitions/Module"
9692 },
9693 "description": "All modules or range of modules."
9694 },
9695 "totalModules": {
9696 "type": "integer",
9697 "description": "The total number of modules available."
9698 }
9699 },
9700 "required": [
9701 "modules"
9702 ]
9703 }
9704 }
9705 __refs__ = set(['body'])
9706
9707 __slots__ = list(__props__.keys()) + ['kwargs']
9708
9709 def __init__(self, request_seq, success, command, body, seq=-1, message=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
9710 """
-
E501
Line too long (81 > 79 characters)
9712 :param integer request_seq: Sequence number of the corresponding request.
9713 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
9714 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
9715 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
9716 :param string command: The command requested.
9717 :param ModulesResponseBody body:
-
E501
Line too long (154 > 79 characters)
9718 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
9719 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
9720 This raw error might be interpreted by the frontend and is not shown in the UI.
9721 Some predefined values exist.
9722 """
9723 self.type = 'response'
9724 self.request_seq = request_seq
9725 self.success = success
9726 self.command = command
9727 if body is None:
9728 self.body = ModulesResponseBody()
9729 else:
-
E501
Line too long (144 > 79 characters)
-
E222
Multiple spaces after operator
9730 self.body = ModulesResponseBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != ModulesResponseBody else body
9731 self.seq = seq
9732 self.message = message
9733 self.kwargs = kwargs
9734
9735
9736 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
9737 type = self.type # noqa (assign to builtin)
9738 request_seq = self.request_seq
9739 success = self.success
9740 command = self.command
9741 body = self.body
9742 seq = self.seq
9743 message = self.message
9744 dct = {
9745 'type': type,
9746 'request_seq': request_seq,
9747 'success': success,
9748 'command': command,
9749 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
9750 'seq': seq,
9751 }
9752 if message is not None:
9753 dct['message'] = message
9754 dct.update(self.kwargs)
9755 return dct
9756
9757
9758 @register_request('loadedSources')
9759 @register
9760 class LoadedSourcesRequest(BaseSchema):
9761 """
9762 Retrieves the set of all sources currently loaded by the debugged process.
-
W293
Blank line contains whitespace
9763
-
E501
Line too long (99 > 79 characters)
9764 Clients should only call this request if the capability 'supportsLoadedSourcesRequest' is true.
9765
9766 Note: automatically generated code. Do not edit manually.
9767 """
9768
9769 __props__ = {
9770 "seq": {
9771 "type": "integer",
-
E501
Line too long (155 > 79 characters)
9772 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
9773 },
9774 "type": {
9775 "type": "string",
9776 "enum": [
9777 "request"
9778 ]
9779 },
9780 "command": {
9781 "type": "string",
9782 "enum": [
9783 "loadedSources"
9784 ]
9785 },
9786 "arguments": {
9787 "type": "LoadedSourcesArguments"
9788 }
9789 }
9790 __refs__ = set(['arguments'])
9791
9792 __slots__ = list(__props__.keys()) + ['kwargs']
9793
9794 def __init__(self, seq=-1, arguments=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
9795 """
9797 :param string command:
-
E501
Line too long (154 > 79 characters)
9798 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
9799 :param LoadedSourcesArguments arguments:
9800 """
9801 self.type = 'request'
9802 self.command = 'loadedSources'
9803 self.seq = seq
9804 if arguments is None:
9805 self.arguments = LoadedSourcesArguments()
9806 else:
-
E501
Line too long (170 > 79 characters)
-
E222
Multiple spaces after operator
9807 self.arguments = LoadedSourcesArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != LoadedSourcesArguments else arguments
9808 self.kwargs = kwargs
9809
9810
9811 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
9812 type = self.type # noqa (assign to builtin)
9813 command = self.command
9814 seq = self.seq
9815 arguments = self.arguments
9816 dct = {
9817 'type': type,
9818 'command': command,
9819 'seq': seq,
9820 }
9821 if arguments is not None:
-
E501
Line too long (85 > 79 characters)
9822 dct['arguments'] = arguments.to_dict(update_ids_to_dap=update_ids_to_dap)
9823 dct.update(self.kwargs)
9824 return dct
9825
9826
9827 @register
9828 class LoadedSourcesArguments(BaseSchema):
9829 """
9830 Arguments for 'loadedSources' request.
9831
9832 Note: automatically generated code. Do not edit manually.
9833 """
9834
9835 __props__ = {}
9836 __refs__ = set()
9837
9838 __slots__ = list(__props__.keys()) + ['kwargs']
9839
9840 def __init__(self, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
9841 """
-
W293
Blank line contains whitespace
9842
9843 """
-
W293
Blank line contains whitespace
9844
9845 self.kwargs = kwargs
9846
9847
9848 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
9849 dct = {
9850 }
9851 dct.update(self.kwargs)
9852 return dct
9853
9854
9855 @register_response('loadedSources')
9856 @register
9857 class LoadedSourcesResponse(BaseSchema):
9858 """
9859 Response to 'loadedSources' request.
9860
9861 Note: automatically generated code. Do not edit manually.
9862 """
9863
9864 __props__ = {
9865 "seq": {
9866 "type": "integer",
-
E501
Line too long (155 > 79 characters)
9867 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
9868 },
9869 "type": {
9870 "type": "string",
9871 "enum": [
9872 "response"
9873 ]
9874 },
9875 "request_seq": {
9876 "type": "integer",
9877 "description": "Sequence number of the corresponding request."
9878 },
9879 "success": {
9880 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
9881 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
9882 },
9883 "command": {
9884 "type": "string",
9885 "description": "The command requested."
9886 },
9887 "message": {
9888 "type": "string",
-
E501
Line too long (201 > 79 characters)
9889 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
9890 "_enum": [
9891 "cancelled"
9892 ],
9893 "enumDescriptions": [
9894 "request was cancelled."
9895 ]
9896 },
9897 "body": {
9898 "type": "object",
9899 "properties": {
9900 "sources": {
9901 "type": "array",
9902 "items": {
9903 "$ref": "#/definitions/Source"
9904 },
9905 "description": "Set of loaded sources."
9906 }
9907 },
9908 "required": [
9909 "sources"
9910 ]
9911 }
9912 }
9913 __refs__ = set(['body'])
9914
9915 __slots__ = list(__props__.keys()) + ['kwargs']
9916
9917 def __init__(self, request_seq, success, command, body, seq=-1, message=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
9918 """
-
E501
Line too long (81 > 79 characters)
9920 :param integer request_seq: Sequence number of the corresponding request.
9921 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
9922 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
9923 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
9924 :param string command: The command requested.
9925 :param LoadedSourcesResponseBody body:
-
E501
Line too long (154 > 79 characters)
9926 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
9927 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
9928 This raw error might be interpreted by the frontend and is not shown in the UI.
9929 Some predefined values exist.
9930 """
9931 self.type = 'response'
9932 self.request_seq = request_seq
9933 self.success = success
9934 self.command = command
9935 if body is None:
9936 self.body = LoadedSourcesResponseBody()
9937 else:
-
E501
Line too long (156 > 79 characters)
-
E222
Multiple spaces after operator
9938 self.body = LoadedSourcesResponseBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != LoadedSourcesResponseBody else body
9939 self.seq = seq
9940 self.message = message
9941 self.kwargs = kwargs
9942
9943
9944 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
9945 type = self.type # noqa (assign to builtin)
9946 request_seq = self.request_seq
9947 success = self.success
9948 command = self.command
9949 body = self.body
9950 seq = self.seq
9951 message = self.message
9952 dct = {
9953 'type': type,
9954 'request_seq': request_seq,
9955 'success': success,
9956 'command': command,
9957 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
9958 'seq': seq,
9959 }
9960 if message is not None:
9961 dct['message'] = message
9962 dct.update(self.kwargs)
9963 return dct
9964
9965
9966 @register_request('evaluate')
9967 @register
9968 class EvaluateRequest(BaseSchema):
9969 """
9970 Evaluates the given expression in the context of the top most stack frame.
-
W293
Blank line contains whitespace
9971
9972 The expression has access to any variables and arguments that are in scope.
9973
9974 Note: automatically generated code. Do not edit manually.
9975 """
9976
9977 __props__ = {
9978 "seq": {
9979 "type": "integer",
-
E501
Line too long (155 > 79 characters)
9980 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
9981 },
9982 "type": {
9983 "type": "string",
9984 "enum": [
9985 "request"
9986 ]
9987 },
9988 "command": {
9989 "type": "string",
9990 "enum": [
9991 "evaluate"
9992 ]
9993 },
9994 "arguments": {
9995 "type": "EvaluateArguments"
9996 }
9997 }
9998 __refs__ = set(['arguments'])
9999
10000 __slots__ = list(__props__.keys()) + ['kwargs']
10001
10002 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
10003 """
10004 :param string type:
10005 :param string command:
10006 :param EvaluateArguments arguments:
-
E501
Line too long (154 > 79 characters)
10007 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
10008 """
10009 self.type = 'request'
10010 self.command = 'evaluate'
10011 if arguments is None:
10012 self.arguments = EvaluateArguments()
10013 else:
-
E501
Line too long (160 > 79 characters)
-
E222
Multiple spaces after operator
10014 self.arguments = EvaluateArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != EvaluateArguments else arguments
10015 self.seq = seq
10016 self.kwargs = kwargs
10017
10018
10019 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
10020 type = self.type # noqa (assign to builtin)
10021 command = self.command
10022 arguments = self.arguments
10023 seq = self.seq
10024 dct = {
10025 'type': type,
10026 'command': command,
-
E501
Line too long (80 > 79 characters)
10027 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
10028 'seq': seq,
10029 }
10030 dct.update(self.kwargs)
10031 return dct
10032
10033
10034 @register
10035 class EvaluateArguments(BaseSchema):
10036 """
10037 Arguments for 'evaluate' request.
10038
10039 Note: automatically generated code. Do not edit manually.
10040 """
10041
10042 __props__ = {
10043 "expression": {
10044 "type": "string",
10045 "description": "The expression to evaluate."
10046 },
10047 "frameId": {
10048 "type": "integer",
-
E501
Line too long (153 > 79 characters)
10049 "description": "Evaluate the expression in the scope of this stack frame. If not specified, the expression is evaluated in the global scope."
10050 },
10051 "context": {
10052 "type": "string",
10053 "_enum": [
10054 "watch",
10055 "repl",
10056 "hover",
10057 "clipboard"
10058 ],
10059 "enumDescriptions": [
10060 "evaluate is run in a watch.",
10061 "evaluate is run from REPL console.",
10062 "evaluate is run from a data hover.",
-
E501
Line too long (197 > 79 characters)
10063 "evaluate is run to generate the value that will be stored in the clipboard.\nThe attribute is only honored by a debug adapter if the capability 'supportsClipboardContext' is true."
10064 ],
10065 "description": "The context in which the evaluate request is run."
10066 },
10067 "format": {
-
E501
Line too long (195 > 79 characters)
10068 "description": "Specifies details on how to format the Evaluate result.\nThe attribute is only honored by a debug adapter if the capability 'supportsValueFormattingOptions' is true.",
10069 "type": "ValueFormat"
10070 }
10071 }
10072 __refs__ = set(['format'])
10073
10074 __slots__ = list(__props__.keys()) + ['kwargs']
10075
10076 def __init__(self, expression, frameId=None, context=None, format=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
10077 """
10078 :param string expression: The expression to evaluate.
-
E501
Line too long (156 > 79 characters)
10079 :param integer frameId: Evaluate the expression in the scope of this stack frame. If not specified, the expression is evaluated in the global scope.
-
E501
Line too long (80 > 79 characters)
10080 :param string context: The context in which the evaluate request is run.
-
E501
Line too long (90 > 79 characters)
10081 :param ValueFormat format: Specifies details on how to format the Evaluate result.
-
E501
Line too long (116 > 79 characters)
10082 The attribute is only honored by a debug adapter if the capability 'supportsValueFormattingOptions' is true.
10083 """
10084 self.expression = expression
10085 self.frameId = frameId
10086 self.context = context
10087 if format is None:
10088 self.format = ValueFormat()
10089 else:
-
E501
Line too long (136 > 79 characters)
-
E222
Multiple spaces after operator
10090 self.format = ValueFormat(update_ids_from_dap=update_ids_from_dap, **format) if format.__class__ != ValueFormat else format
10091 if update_ids_from_dap:
10092 self.frameId = self._translate_id_from_dap(self.frameId)
10093 self.kwargs = kwargs
-
W293
Blank line contains whitespace
10094
-
W293
Blank line contains whitespace
10095
-
E303
Too many blank lines (2)
10096 @classmethod
10097 def update_dict_ids_from_dap(cls, dct):
10098 if 'frameId' in dct:
10099 dct['frameId'] = cls._translate_id_from_dap(dct['frameId'])
10100 return dct
10101
10102 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
10103 expression = self.expression
10104 frameId = self.frameId
10105 context = self.context
10106 format = self.format # noqa (assign to builtin)
10107 if update_ids_to_dap:
10108 if frameId is not None:
10109 frameId = self._translate_id_to_dap(frameId)
10110 dct = {
10111 'expression': expression,
10112 }
10113 if frameId is not None:
10114 dct['frameId'] = frameId
10115 if context is not None:
10116 dct['context'] = context
10117 if format is not None:
10118 dct['format'] = format.to_dict(update_ids_to_dap=update_ids_to_dap)
10119 dct.update(self.kwargs)
-
W293
Blank line contains whitespace
10121
10122 @classmethod
10123 def update_dict_ids_to_dap(cls, dct):
10124 if 'frameId' in dct:
10125 dct['frameId'] = cls._translate_id_to_dap(dct['frameId'])
10126 return dct
10127
10128
10129 @register_response('evaluate')
10130 @register
10131 class EvaluateResponse(BaseSchema):
10132 """
10133 Response to 'evaluate' request.
10134
10135 Note: automatically generated code. Do not edit manually.
10136 """
10137
10138 __props__ = {
10139 "seq": {
10140 "type": "integer",
-
E501
Line too long (155 > 79 characters)
10141 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
10142 },
10143 "type": {
10144 "type": "string",
10145 "enum": [
10146 "response"
10147 ]
10148 },
10149 "request_seq": {
10150 "type": "integer",
10151 "description": "Sequence number of the corresponding request."
10152 },
10153 "success": {
10154 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
10155 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
10156 },
10157 "command": {
10158 "type": "string",
10159 "description": "The command requested."
10160 },
10161 "message": {
10162 "type": "string",
-
E501
Line too long (201 > 79 characters)
10163 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
10164 "_enum": [
10165 "cancelled"
10166 ],
10167 "enumDescriptions": [
10168 "request was cancelled."
10169 ]
10170 },
10171 "body": {
10172 "type": "object",
10173 "properties": {
10174 "result": {
10175 "type": "string",
10176 "description": "The result of the evaluate request."
10177 },
10178 "type": {
10179 "type": "string",
-
E501
Line too long (248 > 79 characters)
10180 "description": "The optional type of the evaluate result.\nThis attribute should only be returned by a debug adapter if the client has passed the value true for the 'supportsVariableType' capability of the 'initialize' request."
10181 },
10182 "presentationHint": {
10183 "$ref": "#/definitions/VariablePresentationHint",
-
E501
Line too long (134 > 79 characters)
10184 "description": "Properties of a evaluate result that can be used to determine how to render the result in the UI."
10185 },
10186 "variablesReference": {
10187 "type": "integer",
-
E501
Line too long (253 > 79 characters)
10188 "description": "If variablesReference is > 0, the evaluate result is structured and its children can be retrieved by passing variablesReference to the VariablesRequest.\nThe value should be less than or equal to 2147483647 (2^31-1)."
10189 },
10190 "namedVariables": {
10191 "type": "integer",
-
E501
Line too long (248 > 79 characters)
10192 "description": "The number of named child variables.\nThe client can use this optional information to present the variables in a paged UI and fetch them in chunks.\nThe value should be less than or equal to 2147483647 (2^31-1)."
10193 },
10194 "indexedVariables": {
10195 "type": "integer",
-
E501
Line too long (250 > 79 characters)
10196 "description": "The number of indexed child variables.\nThe client can use this optional information to present the variables in a paged UI and fetch them in chunks.\nThe value should be less than or equal to 2147483647 (2^31-1)."
10197 },
10198 "memoryReference": {
10199 "type": "string",
-
E501
Line too long (384 > 79 characters)
10200 "description": "Optional memory reference to a location appropriate for this result.\nFor pointer type eval results, this is generally a reference to the memory address contained in the pointer.\nThis attribute should be returned by a debug adapter if the client has passed the value true for the 'supportsMemoryReferences' capability of the 'initialize' request."
10201 }
10202 },
10203 "required": [
10204 "result",
10205 "variablesReference"
10206 ]
10207 }
10208 }
10209 __refs__ = set(['body'])
10210
10211 __slots__ = list(__props__.keys()) + ['kwargs']
10212
10213 def __init__(self, request_seq, success, command, body, seq=-1, message=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
10214 """
10215 :param string type:
-
E501
Line too long (81 > 79 characters)
10216 :param integer request_seq: Sequence number of the corresponding request.
10217 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
10218 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
10219 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
10220 :param string command: The command requested.
10221 :param EvaluateResponseBody body:
-
E501
Line too long (154 > 79 characters)
10222 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
10223 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
10224 This raw error might be interpreted by the frontend and is not shown in the UI.
10225 Some predefined values exist.
10226 """
10227 self.type = 'response'
10228 self.request_seq = request_seq
10229 self.success = success
10230 self.command = command
10231 if body is None:
10232 self.body = EvaluateResponseBody()
10233 else:
-
E501
Line too long (146 > 79 characters)
-
E222
Multiple spaces after operator
10234 self.body = EvaluateResponseBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != EvaluateResponseBody else body
10235 self.seq = seq
10236 self.message = message
10237 self.kwargs = kwargs
10238
10239
10240 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
10241 type = self.type # noqa (assign to builtin)
10242 request_seq = self.request_seq
10243 success = self.success
10244 command = self.command
10245 body = self.body
10246 seq = self.seq
10247 message = self.message
10248 dct = {
10249 'type': type,
10250 'request_seq': request_seq,
10251 'success': success,
10252 'command': command,
10253 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
10254 'seq': seq,
10255 }
10256 if message is not None:
10257 dct['message'] = message
10258 dct.update(self.kwargs)
10259 return dct
10260
10261
10262 @register_request('setExpression')
10263 @register
10264 class SetExpressionRequest(BaseSchema):
10265 """
-
E501
Line too long (104 > 79 characters)
10266 Evaluates the given 'value' expression and assigns it to the 'expression' which must be a modifiable
10267 l-value.
-
W293
Blank line contains whitespace
10268
-
E501
Line too long (104 > 79 characters)
10269 The expressions have access to any variables and arguments that are in scope of the specified frame.
-
W293
Blank line contains whitespace
10270
-
E501
Line too long (92 > 79 characters)
10271 Clients should only call this request if the capability 'supportsSetExpression' is true.
10272
10273 Note: automatically generated code. Do not edit manually.
10274 """
10275
10276 __props__ = {
10277 "seq": {
10278 "type": "integer",
-
E501
Line too long (155 > 79 characters)
10279 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
10280 },
10281 "type": {
10282 "type": "string",
10283 "enum": [
10284 "request"
10285 ]
10286 },
10287 "command": {
10288 "type": "string",
10289 "enum": [
10290 "setExpression"
10291 ]
10292 },
10293 "arguments": {
10294 "type": "SetExpressionArguments"
10295 }
10296 }
10297 __refs__ = set(['arguments'])
10298
10299 __slots__ = list(__props__.keys()) + ['kwargs']
10300
10301 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
10302 """
10303 :param string type:
10304 :param string command:
10305 :param SetExpressionArguments arguments:
-
E501
Line too long (154 > 79 characters)
10306 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
10307 """
10308 self.type = 'request'
10309 self.command = 'setExpression'
10310 if arguments is None:
10311 self.arguments = SetExpressionArguments()
10312 else:
-
E501
Line too long (170 > 79 characters)
-
E222
Multiple spaces after operator
10313 self.arguments = SetExpressionArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != SetExpressionArguments else arguments
10314 self.seq = seq
10315 self.kwargs = kwargs
10316
10317
10318 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
10319 type = self.type # noqa (assign to builtin)
10320 command = self.command
10321 arguments = self.arguments
10322 seq = self.seq
10323 dct = {
10324 'type': type,
10325 'command': command,
-
E501
Line too long (80 > 79 characters)
10326 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
10327 'seq': seq,
10328 }
10329 dct.update(self.kwargs)
10330 return dct
10331
10332
10333 @register
10334 class SetExpressionArguments(BaseSchema):
10335 """
10336 Arguments for 'setExpression' request.
10337
10338 Note: automatically generated code. Do not edit manually.
10339 """
10340
10341 __props__ = {
10342 "expression": {
10343 "type": "string",
10344 "description": "The l-value expression to assign to."
10345 },
10346 "value": {
10347 "type": "string",
-
E501
Line too long (86 > 79 characters)
10348 "description": "The value expression to assign to the l-value expression."
10349 },
10350 "frameId": {
10351 "type": "integer",
-
E501
Line too long (156 > 79 characters)
10352 "description": "Evaluate the expressions in the scope of this stack frame. If not specified, the expressions are evaluated in the global scope."
10353 },
10354 "format": {
-
E501
Line too long (84 > 79 characters)
10355 "description": "Specifies how the resulting value should be formatted.",
10356 "type": "ValueFormat"
10357 }
10358 }
10359 __refs__ = set(['format'])
10360
10361 __slots__ = list(__props__.keys()) + ['kwargs']
10362
10363 def __init__(self, expression, value, frameId=None, format=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
10364 """
10365 :param string expression: The l-value expression to assign to.
-
E501
Line too long (86 > 79 characters)
10366 :param string value: The value expression to assign to the l-value expression.
-
E501
Line too long (159 > 79 characters)
10367 :param integer frameId: Evaluate the expressions in the scope of this stack frame. If not specified, the expressions are evaluated in the global scope.
-
E501
Line too long (89 > 79 characters)
10368 :param ValueFormat format: Specifies how the resulting value should be formatted.
10369 """
10370 self.expression = expression
10371 self.value = value
10372 self.frameId = frameId
10373 if format is None:
10374 self.format = ValueFormat()
10375 else:
-
E501
Line too long (136 > 79 characters)
-
E222
Multiple spaces after operator
10376 self.format = ValueFormat(update_ids_from_dap=update_ids_from_dap, **format) if format.__class__ != ValueFormat else format
10377 if update_ids_from_dap:
10378 self.frameId = self._translate_id_from_dap(self.frameId)
10379 self.kwargs = kwargs
-
W293
Blank line contains whitespace
10380
-
W293
Blank line contains whitespace
10381
-
E303
Too many blank lines (2)
10382 @classmethod
10383 def update_dict_ids_from_dap(cls, dct):
10384 if 'frameId' in dct:
10385 dct['frameId'] = cls._translate_id_from_dap(dct['frameId'])
10386 return dct
10387
10388 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
10389 expression = self.expression
10390 value = self.value
10391 frameId = self.frameId
10392 format = self.format # noqa (assign to builtin)
10393 if update_ids_to_dap:
10394 if frameId is not None:
10395 frameId = self._translate_id_to_dap(frameId)
10396 dct = {
10397 'expression': expression,
10398 'value': value,
10399 }
10400 if frameId is not None:
10401 dct['frameId'] = frameId
10402 if format is not None:
10403 dct['format'] = format.to_dict(update_ids_to_dap=update_ids_to_dap)
10404 dct.update(self.kwargs)
-
W293
Blank line contains whitespace
10406
10407 @classmethod
10408 def update_dict_ids_to_dap(cls, dct):
10409 if 'frameId' in dct:
10410 dct['frameId'] = cls._translate_id_to_dap(dct['frameId'])
10411 return dct
10412
10413
10414 @register_response('setExpression')
10415 @register
10416 class SetExpressionResponse(BaseSchema):
10417 """
10418 Response to 'setExpression' request.
10419
10420 Note: automatically generated code. Do not edit manually.
10421 """
10422
10423 __props__ = {
10424 "seq": {
10425 "type": "integer",
-
E501
Line too long (155 > 79 characters)
10426 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
10427 },
10428 "type": {
10429 "type": "string",
10430 "enum": [
10431 "response"
10432 ]
10433 },
10434 "request_seq": {
10435 "type": "integer",
10436 "description": "Sequence number of the corresponding request."
10437 },
10438 "success": {
10439 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
10440 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
10441 },
10442 "command": {
10443 "type": "string",
10444 "description": "The command requested."
10445 },
10446 "message": {
10447 "type": "string",
-
E501
Line too long (201 > 79 characters)
10448 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
10449 "_enum": [
10450 "cancelled"
10451 ],
10452 "enumDescriptions": [
10453 "request was cancelled."
10454 ]
10455 },
10456 "body": {
10457 "type": "object",
10458 "properties": {
10459 "value": {
10460 "type": "string",
10461 "description": "The new value of the expression."
10462 },
10463 "type": {
10464 "type": "string",
-
E501
Line too long (238 > 79 characters)
10465 "description": "The optional type of the value.\nThis attribute should only be returned by a debug adapter if the client has passed the value true for the 'supportsVariableType' capability of the 'initialize' request."
10466 },
10467 "presentationHint": {
10468 "$ref": "#/definitions/VariablePresentationHint",
-
E501
Line too long (124 > 79 characters)
10469 "description": "Properties of a value that can be used to determine how to render the result in the UI."
10470 },
10471 "variablesReference": {
10472 "type": "integer",
-
E501
Line too long (243 > 79 characters)
10473 "description": "If variablesReference is > 0, the value is structured and its children can be retrieved by passing variablesReference to the VariablesRequest.\nThe value should be less than or equal to 2147483647 (2^31-1)."
10474 },
10475 "namedVariables": {
10476 "type": "integer",
-
E501
Line too long (248 > 79 characters)
10477 "description": "The number of named child variables.\nThe client can use this optional information to present the variables in a paged UI and fetch them in chunks.\nThe value should be less than or equal to 2147483647 (2^31-1)."
10478 },
10479 "indexedVariables": {
10480 "type": "integer",
-
E501
Line too long (250 > 79 characters)
10481 "description": "The number of indexed child variables.\nThe client can use this optional information to present the variables in a paged UI and fetch them in chunks.\nThe value should be less than or equal to 2147483647 (2^31-1)."
10482 }
10483 },
10484 "required": [
10485 "value"
10486 ]
10487 }
10488 }
10489 __refs__ = set(['body'])
10490
10491 __slots__ = list(__props__.keys()) + ['kwargs']
10492
10493 def __init__(self, request_seq, success, command, body, seq=-1, message=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
10494 """
10495 :param string type:
-
E501
Line too long (81 > 79 characters)
10496 :param integer request_seq: Sequence number of the corresponding request.
10497 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
10498 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
10499 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
10500 :param string command: The command requested.
10501 :param SetExpressionResponseBody body:
-
E501
Line too long (154 > 79 characters)
10502 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
10503 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
10504 This raw error might be interpreted by the frontend and is not shown in the UI.
10505 Some predefined values exist.
10506 """
10507 self.type = 'response'
10508 self.request_seq = request_seq
10509 self.success = success
10510 self.command = command
10511 if body is None:
10512 self.body = SetExpressionResponseBody()
10513 else:
-
E501
Line too long (156 > 79 characters)
-
E222
Multiple spaces after operator
10514 self.body = SetExpressionResponseBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != SetExpressionResponseBody else body
10515 self.seq = seq
10516 self.message = message
10517 self.kwargs = kwargs
10518
10519
10520 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
10521 type = self.type # noqa (assign to builtin)
10522 request_seq = self.request_seq
10523 success = self.success
10524 command = self.command
10525 body = self.body
10526 seq = self.seq
10527 message = self.message
10528 dct = {
10529 'type': type,
10530 'request_seq': request_seq,
10531 'success': success,
10532 'command': command,
10533 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
10534 'seq': seq,
10535 }
10536 if message is not None:
10537 dct['message'] = message
10538 dct.update(self.kwargs)
10539 return dct
10540
10541
10542 @register_request('stepInTargets')
10543 @register
10544 class StepInTargetsRequest(BaseSchema):
10545 """
-
E501
Line too long (85 > 79 characters)
10546 This request retrieves the possible stepIn targets for the specified stack frame.
-
W293
Blank line contains whitespace
10547
10548 These targets can be used in the 'stepIn' request.
-
W293
Blank line contains whitespace
10549
-
E501
Line too long (103 > 79 characters)
10550 The StepInTargets may only be called if the 'supportsStepInTargetsRequest' capability exists and is
10551 true.
-
W293
Blank line contains whitespace
10552
-
E501
Line too long (99 > 79 characters)
10553 Clients should only call this request if the capability 'supportsStepInTargetsRequest' is true.
10554
10555 Note: automatically generated code. Do not edit manually.
10556 """
10557
10558 __props__ = {
10559 "seq": {
10560 "type": "integer",
-
E501
Line too long (155 > 79 characters)
10561 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
10562 },
10563 "type": {
10564 "type": "string",
10565 "enum": [
10566 "request"
10567 ]
10568 },
10569 "command": {
10570 "type": "string",
10571 "enum": [
10572 "stepInTargets"
10573 ]
10574 },
10575 "arguments": {
10576 "type": "StepInTargetsArguments"
10577 }
10578 }
10579 __refs__ = set(['arguments'])
10580
10581 __slots__ = list(__props__.keys()) + ['kwargs']
10582
10583 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
10584 """
10585 :param string type:
10586 :param string command:
10587 :param StepInTargetsArguments arguments:
-
E501
Line too long (154 > 79 characters)
10588 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
10589 """
10590 self.type = 'request'
10591 self.command = 'stepInTargets'
10592 if arguments is None:
10593 self.arguments = StepInTargetsArguments()
10594 else:
-
E501
Line too long (170 > 79 characters)
-
E222
Multiple spaces after operator
10595 self.arguments = StepInTargetsArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != StepInTargetsArguments else arguments
10596 self.seq = seq
10597 self.kwargs = kwargs
10598
10599
10600 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
10601 type = self.type # noqa (assign to builtin)
10602 command = self.command
10603 arguments = self.arguments
10604 seq = self.seq
10605 dct = {
10606 'type': type,
10607 'command': command,
-
E501
Line too long (80 > 79 characters)
10608 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
10609 'seq': seq,
10610 }
10611 dct.update(self.kwargs)
10612 return dct
10613
10614
10615 @register
10616 class StepInTargetsArguments(BaseSchema):
10617 """
10618 Arguments for 'stepInTargets' request.
10619
10620 Note: automatically generated code. Do not edit manually.
10621 """
10622
10623 __props__ = {
10624 "frameId": {
10625 "type": "integer",
-
E501
Line too long (95 > 79 characters)
10626 "description": "The stack frame for which to retrieve the possible stepIn targets."
10627 }
10628 }
10629 __refs__ = set()
10630
10631 __slots__ = list(__props__.keys()) + ['kwargs']
10632
10633 def __init__(self, frameId, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
10634 """
-
E501
Line too long (98 > 79 characters)
10635 :param integer frameId: The stack frame for which to retrieve the possible stepIn targets.
10636 """
10637 self.frameId = frameId
10638 if update_ids_from_dap:
10639 self.frameId = self._translate_id_from_dap(self.frameId)
10640 self.kwargs = kwargs
-
W293
Blank line contains whitespace
10641
-
W293
Blank line contains whitespace
10642
-
E303
Too many blank lines (2)
10643 @classmethod
10644 def update_dict_ids_from_dap(cls, dct):
10645 if 'frameId' in dct:
10646 dct['frameId'] = cls._translate_id_from_dap(dct['frameId'])
10647 return dct
10648
10649 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
10650 frameId = self.frameId
10651 if update_ids_to_dap:
10652 if frameId is not None:
10653 frameId = self._translate_id_to_dap(frameId)
10654 dct = {
10655 'frameId': frameId,
10656 }
10657 dct.update(self.kwargs)
-
W293
Blank line contains whitespace
10659
10660 @classmethod
10661 def update_dict_ids_to_dap(cls, dct):
10662 if 'frameId' in dct:
10663 dct['frameId'] = cls._translate_id_to_dap(dct['frameId'])
10664 return dct
10665
10666
10667 @register_response('stepInTargets')
10668 @register
10669 class StepInTargetsResponse(BaseSchema):
10670 """
10671 Response to 'stepInTargets' request.
10672
10673 Note: automatically generated code. Do not edit manually.
10674 """
10675
10676 __props__ = {
10677 "seq": {
10678 "type": "integer",
-
E501
Line too long (155 > 79 characters)
10679 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
10680 },
10681 "type": {
10682 "type": "string",
10683 "enum": [
10684 "response"
10685 ]
10686 },
10687 "request_seq": {
10688 "type": "integer",
10689 "description": "Sequence number of the corresponding request."
10690 },
10691 "success": {
10692 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
10693 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
10694 },
10695 "command": {
10696 "type": "string",
10697 "description": "The command requested."
10698 },
10699 "message": {
10700 "type": "string",
-
E501
Line too long (201 > 79 characters)
10701 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
10702 "_enum": [
10703 "cancelled"
10704 ],
10705 "enumDescriptions": [
10706 "request was cancelled."
10707 ]
10708 },
10709 "body": {
10710 "type": "object",
10711 "properties": {
10712 "targets": {
10713 "type": "array",
10714 "items": {
10715 "$ref": "#/definitions/StepInTarget"
10716 },
-
E501
Line too long (98 > 79 characters)
10717 "description": "The possible stepIn targets of the specified source location."
10718 }
10719 },
10720 "required": [
10721 "targets"
10722 ]
10723 }
10724 }
10725 __refs__ = set(['body'])
10726
10727 __slots__ = list(__props__.keys()) + ['kwargs']
10728
10729 def __init__(self, request_seq, success, command, body, seq=-1, message=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
10730 """
10731 :param string type:
-
E501
Line too long (81 > 79 characters)
10732 :param integer request_seq: Sequence number of the corresponding request.
10733 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
10734 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
10735 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
10736 :param string command: The command requested.
10737 :param StepInTargetsResponseBody body:
-
E501
Line too long (154 > 79 characters)
10738 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
10739 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
10740 This raw error might be interpreted by the frontend and is not shown in the UI.
10741 Some predefined values exist.
10742 """
10743 self.type = 'response'
10744 self.request_seq = request_seq
10745 self.success = success
10746 self.command = command
10747 if body is None:
10748 self.body = StepInTargetsResponseBody()
10749 else:
-
E501
Line too long (156 > 79 characters)
-
E222
Multiple spaces after operator
10750 self.body = StepInTargetsResponseBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != StepInTargetsResponseBody else body
10751 self.seq = seq
10752 self.message = message
10753 self.kwargs = kwargs
10754
10755
10756 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
10757 type = self.type # noqa (assign to builtin)
10758 request_seq = self.request_seq
10759 success = self.success
10760 command = self.command
10761 body = self.body
10762 seq = self.seq
10763 message = self.message
10764 dct = {
10765 'type': type,
10766 'request_seq': request_seq,
10767 'success': success,
10768 'command': command,
10769 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
10770 'seq': seq,
10771 }
10772 if message is not None:
10773 dct['message'] = message
10774 dct.update(self.kwargs)
10775 return dct
10776
10777
10778 @register_request('gotoTargets')
10779 @register
10780 class GotoTargetsRequest(BaseSchema):
10781 """
-
E501
Line too long (87 > 79 characters)
10782 This request retrieves the possible goto targets for the specified source location.
-
W293
Blank line contains whitespace
10783
10784 These targets can be used in the 'goto' request.
-
W293
Blank line contains whitespace
10785
-
E501
Line too long (97 > 79 characters)
10786 Clients should only call this request if the capability 'supportsGotoTargetsRequest' is true.
10787
10788 Note: automatically generated code. Do not edit manually.
10789 """
10790
10791 __props__ = {
10792 "seq": {
10793 "type": "integer",
-
E501
Line too long (155 > 79 characters)
10794 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
10795 },
10796 "type": {
10797 "type": "string",
10798 "enum": [
10799 "request"
10800 ]
10801 },
10802 "command": {
10803 "type": "string",
10804 "enum": [
10805 "gotoTargets"
10806 ]
10807 },
10808 "arguments": {
10809 "type": "GotoTargetsArguments"
10810 }
10811 }
10812 __refs__ = set(['arguments'])
10813
10814 __slots__ = list(__props__.keys()) + ['kwargs']
10815
10816 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
10817 """
10818 :param string type:
10819 :param string command:
10820 :param GotoTargetsArguments arguments:
-
E501
Line too long (154 > 79 characters)
10821 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
10822 """
10823 self.type = 'request'
10824 self.command = 'gotoTargets'
10825 if arguments is None:
10826 self.arguments = GotoTargetsArguments()
10827 else:
-
E501
Line too long (166 > 79 characters)
-
E222
Multiple spaces after operator
10828 self.arguments = GotoTargetsArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != GotoTargetsArguments else arguments
10829 self.seq = seq
10830 self.kwargs = kwargs
10831
10832
10833 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
10834 type = self.type # noqa (assign to builtin)
10835 command = self.command
10836 arguments = self.arguments
10837 seq = self.seq
10838 dct = {
10839 'type': type,
10840 'command': command,
-
E501
Line too long (80 > 79 characters)
10841 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
10842 'seq': seq,
10843 }
10844 dct.update(self.kwargs)
10845 return dct
10846
10847
10848 @register
10849 class GotoTargetsArguments(BaseSchema):
10850 """
10851 Arguments for 'gotoTargets' request.
10852
10853 Note: automatically generated code. Do not edit manually.
10854 """
10855
10856 __props__ = {
10857 "source": {
-
E501
Line too long (92 > 79 characters)
10858 "description": "The source location for which the goto targets are determined.",
10859 "type": "Source"
10860 },
10861 "line": {
10862 "type": "integer",
-
E501
Line too long (89 > 79 characters)
10863 "description": "The line location for which the goto targets are determined."
10864 },
10865 "column": {
10866 "type": "integer",
-
E501
Line too long (99 > 79 characters)
10867 "description": "An optional column location for which the goto targets are determined."
10868 }
10869 }
10870 __refs__ = set(['source'])
10871
10872 __slots__ = list(__props__.keys()) + ['kwargs']
10873
10874 def __init__(self, source, line, column=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
10875 """
-
E501
Line too long (92 > 79 characters)
10876 :param Source source: The source location for which the goto targets are determined.
-
E501
Line too long (89 > 79 characters)
10877 :param integer line: The line location for which the goto targets are determined.
-
E501
Line too long (101 > 79 characters)
10878 :param integer column: An optional column location for which the goto targets are determined.
10879 """
10880 if source is None:
10881 self.source = Source()
10882 else:
-
E501
Line too long (126 > 79 characters)
-
E222
Multiple spaces after operator
10883 self.source = Source(update_ids_from_dap=update_ids_from_dap, **source) if source.__class__ != Source else source
10884 self.line = line
10885 self.column = column
10886 self.kwargs = kwargs
10887
10888
10889 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
10890 source = self.source
10891 line = self.line
10892 column = self.column
10893 dct = {
10894 'source': source.to_dict(update_ids_to_dap=update_ids_to_dap),
10895 'line': line,
10896 }
10897 if column is not None:
10898 dct['column'] = column
10899 dct.update(self.kwargs)
10900 return dct
10901
10902
10903 @register_response('gotoTargets')
10904 @register
10905 class GotoTargetsResponse(BaseSchema):
10906 """
10907 Response to 'gotoTargets' request.
10908
10909 Note: automatically generated code. Do not edit manually.
10910 """
10911
10912 __props__ = {
10913 "seq": {
10914 "type": "integer",
-
E501
Line too long (155 > 79 characters)
10915 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
10916 },
10917 "type": {
10918 "type": "string",
10919 "enum": [
10920 "response"
10921 ]
10922 },
10923 "request_seq": {
10924 "type": "integer",
10925 "description": "Sequence number of the corresponding request."
10926 },
10927 "success": {
10928 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
10929 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
10930 },
10931 "command": {
10932 "type": "string",
10933 "description": "The command requested."
10934 },
10935 "message": {
10936 "type": "string",
-
E501
Line too long (201 > 79 characters)
10937 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
10938 "_enum": [
10939 "cancelled"
10940 ],
10941 "enumDescriptions": [
10942 "request was cancelled."
10943 ]
10944 },
10945 "body": {
10946 "type": "object",
10947 "properties": {
10948 "targets": {
10949 "type": "array",
10950 "items": {
10951 "$ref": "#/definitions/GotoTarget"
10952 },
-
E501
Line too long (89 > 79 characters)
10953 "description": "The possible goto targets of the specified location."
10954 }
10955 },
10956 "required": [
10957 "targets"
10958 ]
10959 }
10960 }
10961 __refs__ = set(['body'])
10962
10963 __slots__ = list(__props__.keys()) + ['kwargs']
10964
10965 def __init__(self, request_seq, success, command, body, seq=-1, message=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
10966 """
10967 :param string type:
-
E501
Line too long (81 > 79 characters)
10968 :param integer request_seq: Sequence number of the corresponding request.
10969 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
10970 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
10971 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
10972 :param string command: The command requested.
10973 :param GotoTargetsResponseBody body:
-
E501
Line too long (154 > 79 characters)
10974 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
10975 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
10976 This raw error might be interpreted by the frontend and is not shown in the UI.
10977 Some predefined values exist.
10978 """
10979 self.type = 'response'
10980 self.request_seq = request_seq
10981 self.success = success
10982 self.command = command
10983 if body is None:
10984 self.body = GotoTargetsResponseBody()
10985 else:
-
E501
Line too long (152 > 79 characters)
-
E222
Multiple spaces after operator
10986 self.body = GotoTargetsResponseBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != GotoTargetsResponseBody else body
10987 self.seq = seq
10988 self.message = message
10989 self.kwargs = kwargs
10990
10991
10992 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
10993 type = self.type # noqa (assign to builtin)
10994 request_seq = self.request_seq
10995 success = self.success
10996 command = self.command
10997 body = self.body
10998 seq = self.seq
10999 message = self.message
11000 dct = {
11001 'type': type,
11002 'request_seq': request_seq,
11003 'success': success,
11004 'command': command,
11005 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
11006 'seq': seq,
11007 }
11008 if message is not None:
11009 dct['message'] = message
11010 dct.update(self.kwargs)
11011 return dct
11012
11013
11014 @register_request('completions')
11015 @register
11016 class CompletionsRequest(BaseSchema):
11017 """
11018 Returns a list of possible completions for a given caret position and text.
-
W293
Blank line contains whitespace
11019
-
E501
Line too long (97 > 79 characters)
11020 Clients should only call this request if the capability 'supportsCompletionsRequest' is true.
11021
11022 Note: automatically generated code. Do not edit manually.
11023 """
11024
11025 __props__ = {
11026 "seq": {
11027 "type": "integer",
-
E501
Line too long (155 > 79 characters)
11028 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
11029 },
11030 "type": {
11031 "type": "string",
11032 "enum": [
11033 "request"
11034 ]
11035 },
11036 "command": {
11037 "type": "string",
11038 "enum": [
11039 "completions"
11040 ]
11041 },
11042 "arguments": {
11043 "type": "CompletionsArguments"
11044 }
11045 }
11046 __refs__ = set(['arguments'])
11047
11048 __slots__ = list(__props__.keys()) + ['kwargs']
11049
11050 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
11051 """
11052 :param string type:
11053 :param string command:
11054 :param CompletionsArguments arguments:
-
E501
Line too long (154 > 79 characters)
11055 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
11056 """
11057 self.type = 'request'
11058 self.command = 'completions'
11059 if arguments is None:
11060 self.arguments = CompletionsArguments()
11061 else:
-
E501
Line too long (166 > 79 characters)
-
E222
Multiple spaces after operator
11062 self.arguments = CompletionsArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != CompletionsArguments else arguments
11063 self.seq = seq
11064 self.kwargs = kwargs
11065
11066
11067 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
11068 type = self.type # noqa (assign to builtin)
11069 command = self.command
11070 arguments = self.arguments
11071 seq = self.seq
11072 dct = {
11073 'type': type,
11074 'command': command,
-
E501
Line too long (80 > 79 characters)
11075 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
11076 'seq': seq,
11077 }
11078 dct.update(self.kwargs)
11079 return dct
11080
11081
11082 @register
11083 class CompletionsArguments(BaseSchema):
11084 """
11085 Arguments for 'completions' request.
11086
11087 Note: automatically generated code. Do not edit manually.
11088 """
11089
11090 __props__ = {
11091 "frameId": {
11092 "type": "integer",
-
E501
Line too long (151 > 79 characters)
11093 "description": "Returns completions in the scope of this stack frame. If not specified, the completions are returned for the global scope."
11094 },
11095 "text": {
11096 "type": "string",
-
E501
Line too long (153 > 79 characters)
11097 "description": "One or more source lines. Typically this is the text a user has typed into the debug console before he asked for completion."
11098 },
11099 "column": {
11100 "type": "integer",
-
E501
Line too long (100 > 79 characters)
11101 "description": "The character position for which to determine the completion proposals."
11102 },
11103 "line": {
11104 "type": "integer",
-
E501
Line too long (144 > 79 characters)
11105 "description": "An optional line for which to determine the completion proposals. If missing the first line of the text is assumed."
11106 }
11107 }
11108 __refs__ = set()
11109
11110 __slots__ = list(__props__.keys()) + ['kwargs']
11111
11112 def __init__(self, text, column, frameId=None, line=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
11113 """
-
E501
Line too long (152 > 79 characters)
11114 :param string text: One or more source lines. Typically this is the text a user has typed into the debug console before he asked for completion.
-
E501
Line too long (102 > 79 characters)
11115 :param integer column: The character position for which to determine the completion proposals.
-
E501
Line too long (154 > 79 characters)
11116 :param integer frameId: Returns completions in the scope of this stack frame. If not specified, the completions are returned for the global scope.
-
E501
Line too long (144 > 79 characters)
11117 :param integer line: An optional line for which to determine the completion proposals. If missing the first line of the text is assumed.
11118 """
11119 self.text = text
11120 self.column = column
11121 self.frameId = frameId
11122 self.line = line
11123 if update_ids_from_dap:
11124 self.frameId = self._translate_id_from_dap(self.frameId)
11125 self.kwargs = kwargs
-
W293
Blank line contains whitespace
11126
-
W293
Blank line contains whitespace
11127
-
E303
Too many blank lines (2)
11128 @classmethod
11129 def update_dict_ids_from_dap(cls, dct):
11130 if 'frameId' in dct:
11131 dct['frameId'] = cls._translate_id_from_dap(dct['frameId'])
11132 return dct
11133
11134 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
11135 text = self.text
11136 column = self.column
11137 frameId = self.frameId
11138 line = self.line
11139 if update_ids_to_dap:
11140 if frameId is not None:
11141 frameId = self._translate_id_to_dap(frameId)
11142 dct = {
11143 'text': text,
11144 'column': column,
11145 }
11146 if frameId is not None:
11147 dct['frameId'] = frameId
11148 if line is not None:
11149 dct['line'] = line
11150 dct.update(self.kwargs)
-
W293
Blank line contains whitespace
11152
11153 @classmethod
11154 def update_dict_ids_to_dap(cls, dct):
11155 if 'frameId' in dct:
11156 dct['frameId'] = cls._translate_id_to_dap(dct['frameId'])
11157 return dct
11158
11159
11160 @register_response('completions')
11161 @register
11162 class CompletionsResponse(BaseSchema):
11163 """
11164 Response to 'completions' request.
11165
11166 Note: automatically generated code. Do not edit manually.
11167 """
11168
11169 __props__ = {
11170 "seq": {
11171 "type": "integer",
-
E501
Line too long (155 > 79 characters)
11172 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
11173 },
11174 "type": {
11175 "type": "string",
11176 "enum": [
11177 "response"
11178 ]
11179 },
11180 "request_seq": {
11181 "type": "integer",
11182 "description": "Sequence number of the corresponding request."
11183 },
11184 "success": {
11185 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
11186 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
11187 },
11188 "command": {
11189 "type": "string",
11190 "description": "The command requested."
11191 },
11192 "message": {
11193 "type": "string",
-
E501
Line too long (201 > 79 characters)
11194 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
11195 "_enum": [
11196 "cancelled"
11197 ],
11198 "enumDescriptions": [
11199 "request was cancelled."
11200 ]
11201 },
11202 "body": {
11203 "type": "object",
11204 "properties": {
11205 "targets": {
11206 "type": "array",
11207 "items": {
11208 "$ref": "#/definitions/CompletionItem"
11209 },
11210 "description": "The possible completions for ."
11211 }
11212 },
11213 "required": [
11214 "targets"
11215 ]
11216 }
11217 }
11218 __refs__ = set(['body'])
11219
11220 __slots__ = list(__props__.keys()) + ['kwargs']
11221
11222 def __init__(self, request_seq, success, command, body, seq=-1, message=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
11223 """
11224 :param string type:
-
E501
Line too long (81 > 79 characters)
11225 :param integer request_seq: Sequence number of the corresponding request.
11226 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
11227 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
11228 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
11229 :param string command: The command requested.
11230 :param CompletionsResponseBody body:
-
E501
Line too long (154 > 79 characters)
11231 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
11232 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
11233 This raw error might be interpreted by the frontend and is not shown in the UI.
11234 Some predefined values exist.
11235 """
11236 self.type = 'response'
11237 self.request_seq = request_seq
11238 self.success = success
11239 self.command = command
11240 if body is None:
11241 self.body = CompletionsResponseBody()
11242 else:
-
E501
Line too long (152 > 79 characters)
-
E222
Multiple spaces after operator
11243 self.body = CompletionsResponseBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != CompletionsResponseBody else body
11244 self.seq = seq
11245 self.message = message
11246 self.kwargs = kwargs
11247
11248
11249 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
11250 type = self.type # noqa (assign to builtin)
11251 request_seq = self.request_seq
11252 success = self.success
11253 command = self.command
11254 body = self.body
11255 seq = self.seq
11256 message = self.message
11257 dct = {
11258 'type': type,
11259 'request_seq': request_seq,
11260 'success': success,
11261 'command': command,
11262 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
11263 'seq': seq,
11264 }
11265 if message is not None:
11266 dct['message'] = message
11267 dct.update(self.kwargs)
11268 return dct
11269
11270
11271 @register_request('exceptionInfo')
11272 @register
11273 class ExceptionInfoRequest(BaseSchema):
11274 """
11275 Retrieves the details of the exception that caused this event to be raised.
-
W293
Blank line contains whitespace
11276
-
E501
Line too long (99 > 79 characters)
11277 Clients should only call this request if the capability 'supportsExceptionInfoRequest' is true.
11278
11279 Note: automatically generated code. Do not edit manually.
11280 """
11281
11282 __props__ = {
11283 "seq": {
11284 "type": "integer",
-
E501
Line too long (155 > 79 characters)
11285 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
11286 },
11287 "type": {
11288 "type": "string",
11289 "enum": [
11290 "request"
11291 ]
11292 },
11293 "command": {
11294 "type": "string",
11295 "enum": [
11296 "exceptionInfo"
11297 ]
11298 },
11299 "arguments": {
11300 "type": "ExceptionInfoArguments"
11301 }
11302 }
11303 __refs__ = set(['arguments'])
11304
11305 __slots__ = list(__props__.keys()) + ['kwargs']
11306
11307 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
11308 """
11309 :param string type:
11310 :param string command:
11311 :param ExceptionInfoArguments arguments:
-
E501
Line too long (154 > 79 characters)
11312 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
11313 """
11314 self.type = 'request'
11315 self.command = 'exceptionInfo'
11316 if arguments is None:
11317 self.arguments = ExceptionInfoArguments()
11318 else:
-
E501
Line too long (170 > 79 characters)
-
E222
Multiple spaces after operator
11319 self.arguments = ExceptionInfoArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != ExceptionInfoArguments else arguments
11320 self.seq = seq
11321 self.kwargs = kwargs
11322
11323
11324 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
11325 type = self.type # noqa (assign to builtin)
11326 command = self.command
11327 arguments = self.arguments
11328 seq = self.seq
11329 dct = {
11330 'type': type,
11331 'command': command,
-
E501
Line too long (80 > 79 characters)
11332 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
11333 'seq': seq,
11334 }
11335 dct.update(self.kwargs)
11336 return dct
11337
11338
11339 @register
11340 class ExceptionInfoArguments(BaseSchema):
11341 """
11342 Arguments for 'exceptionInfo' request.
11343
11344 Note: automatically generated code. Do not edit manually.
11345 """
11346
11347 __props__ = {
11348 "threadId": {
11349 "type": "integer",
-
E501
Line too long (88 > 79 characters)
11350 "description": "Thread for which exception information should be retrieved."
11351 }
11352 }
11353 __refs__ = set()
11354
11355 __slots__ = list(__props__.keys()) + ['kwargs']
11356
11357 def __init__(self, threadId, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
11358 """
-
E501
Line too long (92 > 79 characters)
11359 :param integer threadId: Thread for which exception information should be retrieved.
11360 """
11361 self.threadId = threadId
11362 if update_ids_from_dap:
11363 self.threadId = self._translate_id_from_dap(self.threadId)
11364 self.kwargs = kwargs
-
W293
Blank line contains whitespace
11365
-
W293
Blank line contains whitespace
11366
-
E303
Too many blank lines (2)
11367 @classmethod
11368 def update_dict_ids_from_dap(cls, dct):
11369 if 'threadId' in dct:
11370 dct['threadId'] = cls._translate_id_from_dap(dct['threadId'])
11371 return dct
11372
11373 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
11374 threadId = self.threadId
11375 if update_ids_to_dap:
11376 if threadId is not None:
11377 threadId = self._translate_id_to_dap(threadId)
11378 dct = {
11379 'threadId': threadId,
11380 }
11381 dct.update(self.kwargs)
-
W293
Blank line contains whitespace
11383
11384 @classmethod
11385 def update_dict_ids_to_dap(cls, dct):
11386 if 'threadId' in dct:
11387 dct['threadId'] = cls._translate_id_to_dap(dct['threadId'])
11388 return dct
11389
11390
11391 @register_response('exceptionInfo')
11392 @register
11393 class ExceptionInfoResponse(BaseSchema):
11394 """
11395 Response to 'exceptionInfo' request.
11396
11397 Note: automatically generated code. Do not edit manually.
11398 """
11399
11400 __props__ = {
11401 "seq": {
11402 "type": "integer",
-
E501
Line too long (155 > 79 characters)
11403 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
11404 },
11405 "type": {
11406 "type": "string",
11407 "enum": [
11408 "response"
11409 ]
11410 },
11411 "request_seq": {
11412 "type": "integer",
11413 "description": "Sequence number of the corresponding request."
11414 },
11415 "success": {
11416 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
11417 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
11418 },
11419 "command": {
11420 "type": "string",
11421 "description": "The command requested."
11422 },
11423 "message": {
11424 "type": "string",
-
E501
Line too long (201 > 79 characters)
11425 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
11426 "_enum": [
11427 "cancelled"
11428 ],
11429 "enumDescriptions": [
11430 "request was cancelled."
11431 ]
11432 },
11433 "body": {
11434 "type": "object",
11435 "properties": {
11436 "exceptionId": {
11437 "type": "string",
11438 "description": "ID of the exception that was thrown."
11439 },
11440 "description": {
11441 "type": "string",
-
E501
Line too long (102 > 79 characters)
11442 "description": "Descriptive text for the exception provided by the debug adapter."
11443 },
11444 "breakMode": {
11445 "$ref": "#/definitions/ExceptionBreakMode",
-
E501
Line too long (94 > 79 characters)
11446 "description": "Mode that caused the exception notification to be raised."
11447 },
11448 "details": {
11449 "$ref": "#/definitions/ExceptionDetails",
11450 "description": "Detailed information about the exception."
11451 }
11452 },
11453 "required": [
11454 "exceptionId",
11455 "breakMode"
11456 ]
11457 }
11458 }
11459 __refs__ = set(['body'])
11460
11461 __slots__ = list(__props__.keys()) + ['kwargs']
11462
11463 def __init__(self, request_seq, success, command, body, seq=-1, message=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
11464 """
11465 :param string type:
-
E501
Line too long (81 > 79 characters)
11466 :param integer request_seq: Sequence number of the corresponding request.
11467 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
11468 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
11469 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
11470 :param string command: The command requested.
11471 :param ExceptionInfoResponseBody body:
-
E501
Line too long (154 > 79 characters)
11472 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
11473 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
11474 This raw error might be interpreted by the frontend and is not shown in the UI.
11475 Some predefined values exist.
11476 """
11477 self.type = 'response'
11478 self.request_seq = request_seq
11479 self.success = success
11480 self.command = command
11481 if body is None:
11482 self.body = ExceptionInfoResponseBody()
11483 else:
-
E501
Line too long (156 > 79 characters)
-
E222
Multiple spaces after operator
11484 self.body = ExceptionInfoResponseBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != ExceptionInfoResponseBody else body
11485 self.seq = seq
11486 self.message = message
11487 self.kwargs = kwargs
11488
11489
11490 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
11491 type = self.type # noqa (assign to builtin)
11492 request_seq = self.request_seq
11493 success = self.success
11494 command = self.command
11495 body = self.body
11496 seq = self.seq
11497 message = self.message
11498 dct = {
11499 'type': type,
11500 'request_seq': request_seq,
11501 'success': success,
11502 'command': command,
11503 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
11504 'seq': seq,
11505 }
11506 if message is not None:
11507 dct['message'] = message
11508 dct.update(self.kwargs)
11509 return dct
11510
11511
11512 @register_request('readMemory')
11513 @register
11514 class ReadMemoryRequest(BaseSchema):
11515 """
11516 Reads bytes from memory at the provided location.
-
W293
Blank line contains whitespace
11517
-
E501
Line too long (96 > 79 characters)
11518 Clients should only call this request if the capability 'supportsReadMemoryRequest' is true.
11519
11520 Note: automatically generated code. Do not edit manually.
11521 """
11522
11523 __props__ = {
11524 "seq": {
11525 "type": "integer",
-
E501
Line too long (155 > 79 characters)
11526 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
11527 },
11528 "type": {
11529 "type": "string",
11530 "enum": [
11531 "request"
11532 ]
11533 },
11534 "command": {
11535 "type": "string",
11536 "enum": [
11537 "readMemory"
11538 ]
11539 },
11540 "arguments": {
11541 "type": "ReadMemoryArguments"
11542 }
11543 }
11544 __refs__ = set(['arguments'])
11545
11546 __slots__ = list(__props__.keys()) + ['kwargs']
11547
11548 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
11549 """
11550 :param string type:
11551 :param string command:
11552 :param ReadMemoryArguments arguments:
-
E501
Line too long (154 > 79 characters)
11553 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
11554 """
11555 self.type = 'request'
11556 self.command = 'readMemory'
11557 if arguments is None:
11558 self.arguments = ReadMemoryArguments()
11559 else:
-
E501
Line too long (164 > 79 characters)
-
E222
Multiple spaces after operator
11560 self.arguments = ReadMemoryArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != ReadMemoryArguments else arguments
11561 self.seq = seq
11562 self.kwargs = kwargs
11563
11564
11565 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
11566 type = self.type # noqa (assign to builtin)
11567 command = self.command
11568 arguments = self.arguments
11569 seq = self.seq
11570 dct = {
11571 'type': type,
11572 'command': command,
-
E501
Line too long (80 > 79 characters)
11573 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
11574 'seq': seq,
11575 }
11576 dct.update(self.kwargs)
11577 return dct
11578
11579
11580 @register
11581 class ReadMemoryArguments(BaseSchema):
11582 """
11583 Arguments for 'readMemory' request.
11584
11585 Note: automatically generated code. Do not edit manually.
11586 """
11587
11588 __props__ = {
11589 "memoryReference": {
11590 "type": "string",
-
E501
Line too long (98 > 79 characters)
11591 "description": "Memory reference to the base location from which data should be read."
11592 },
11593 "offset": {
11594 "type": "integer",
-
E501
Line too long (133 > 79 characters)
11595 "description": "Optional offset (in bytes) to be applied to the reference location before reading data. Can be negative."
11596 },
11597 "count": {
11598 "type": "integer",
-
E501
Line too long (90 > 79 characters)
11599 "description": "Number of bytes to read at the specified location and offset."
11600 }
11601 }
11602 __refs__ = set()
11603
11604 __slots__ = list(__props__.keys()) + ['kwargs']
11605
11606 def __init__(self, memoryReference, count, offset=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
11607 """
-
E501
Line too long (108 > 79 characters)
11608 :param string memoryReference: Memory reference to the base location from which data should be read.
-
E501
Line too long (91 > 79 characters)
11609 :param integer count: Number of bytes to read at the specified location and offset.
-
E501
Line too long (135 > 79 characters)
11610 :param integer offset: Optional offset (in bytes) to be applied to the reference location before reading data. Can be negative.
11611 """
11612 self.memoryReference = memoryReference
11613 self.count = count
11614 self.offset = offset
11615 self.kwargs = kwargs
11616
11617
11618 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
11619 memoryReference = self.memoryReference
11620 count = self.count
11621 offset = self.offset
11622 dct = {
11623 'memoryReference': memoryReference,
11624 'count': count,
11625 }
11626 if offset is not None:
11627 dct['offset'] = offset
11628 dct.update(self.kwargs)
11629 return dct
11630
11631
11632 @register_response('readMemory')
11633 @register
11634 class ReadMemoryResponse(BaseSchema):
11635 """
11636 Response to 'readMemory' request.
11637
11638 Note: automatically generated code. Do not edit manually.
11639 """
11640
11641 __props__ = {
11642 "seq": {
11643 "type": "integer",
-
E501
Line too long (155 > 79 characters)
11644 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
11645 },
11646 "type": {
11647 "type": "string",
11648 "enum": [
11649 "response"
11650 ]
11651 },
11652 "request_seq": {
11653 "type": "integer",
11654 "description": "Sequence number of the corresponding request."
11655 },
11656 "success": {
11657 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
11658 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
11659 },
11660 "command": {
11661 "type": "string",
11662 "description": "The command requested."
11663 },
11664 "message": {
11665 "type": "string",
-
E501
Line too long (201 > 79 characters)
11666 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
11667 "_enum": [
11668 "cancelled"
11669 ],
11670 "enumDescriptions": [
11671 "request was cancelled."
11672 ]
11673 },
11674 "body": {
11675 "type": "object",
11676 "properties": {
11677 "address": {
11678 "type": "string",
-
E501
Line too long (164 > 79 characters)
11679 "description": "The address of the first byte of data returned.\nTreated as a hex value if prefixed with '0x', or as a decimal value otherwise."
11680 },
11681 "unreadableBytes": {
11682 "type": "integer",
-
E501
Line too long (245 > 79 characters)
11683 "description": "The number of unreadable bytes encountered after the last successfully read byte.\nThis can be used to determine the number of bytes that must be skipped before a subsequent 'readMemory' request will succeed."
11684 },
11685 "data": {
11686 "type": "string",
-
E501
Line too long (86 > 79 characters)
11687 "description": "The bytes read from memory, encoded using base64."
11688 }
11689 },
11690 "required": [
11691 "address"
11692 ]
11693 }
11694 }
11695 __refs__ = set(['body'])
11696
11697 __slots__ = list(__props__.keys()) + ['kwargs']
11698
11699 def __init__(self, request_seq, success, command, seq=-1, message=None, body=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
11700 """
11701 :param string type:
-
E501
Line too long (81 > 79 characters)
11702 :param integer request_seq: Sequence number of the corresponding request.
11703 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
11704 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
11705 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
11706 :param string command: The command requested.
-
E501
Line too long (154 > 79 characters)
11707 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
11708 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
11709 This raw error might be interpreted by the frontend and is not shown in the UI.
11710 Some predefined values exist.
11711 :param ReadMemoryResponseBody body:
11712 """
11713 self.type = 'response'
11714 self.request_seq = request_seq
11715 self.success = success
11716 self.command = command
11717 self.seq = seq
11718 self.message = message
11719 if body is None:
11720 self.body = ReadMemoryResponseBody()
11721 else:
-
E501
Line too long (150 > 79 characters)
-
E222
Multiple spaces after operator
11722 self.body = ReadMemoryResponseBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != ReadMemoryResponseBody else body
11723 self.kwargs = kwargs
11724
11725
11726 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
11727 type = self.type # noqa (assign to builtin)
11728 request_seq = self.request_seq
11729 success = self.success
11730 command = self.command
11731 seq = self.seq
11732 message = self.message
11733 body = self.body
11734 dct = {
11735 'type': type,
11736 'request_seq': request_seq,
11737 'success': success,
11738 'command': command,
11739 'seq': seq,
11740 }
11741 if message is not None:
11742 dct['message'] = message
11743 if body is not None:
11744 dct['body'] = body.to_dict(update_ids_to_dap=update_ids_to_dap)
11745 dct.update(self.kwargs)
11746 return dct
11747
11748
11749 @register_request('disassemble')
11750 @register
11751 class DisassembleRequest(BaseSchema):
11752 """
11753 Disassembles code stored at the provided location.
-
W293
Blank line contains whitespace
11754
-
E501
Line too long (97 > 79 characters)
11755 Clients should only call this request if the capability 'supportsDisassembleRequest' is true.
11756
11757 Note: automatically generated code. Do not edit manually.
11758 """
11759
11760 __props__ = {
11761 "seq": {
11762 "type": "integer",
-
E501
Line too long (155 > 79 characters)
11763 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
11764 },
11765 "type": {
11766 "type": "string",
11767 "enum": [
11768 "request"
11769 ]
11770 },
11771 "command": {
11772 "type": "string",
11773 "enum": [
11774 "disassemble"
11775 ]
11776 },
11777 "arguments": {
11778 "type": "DisassembleArguments"
11779 }
11780 }
11781 __refs__ = set(['arguments'])
11782
11783 __slots__ = list(__props__.keys()) + ['kwargs']
11784
11785 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
11786 """
11787 :param string type:
11788 :param string command:
11789 :param DisassembleArguments arguments:
-
E501
Line too long (154 > 79 characters)
11790 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
11791 """
11792 self.type = 'request'
11793 self.command = 'disassemble'
11794 if arguments is None:
11795 self.arguments = DisassembleArguments()
11796 else:
-
E501
Line too long (166 > 79 characters)
-
E222
Multiple spaces after operator
11797 self.arguments = DisassembleArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != DisassembleArguments else arguments
11798 self.seq = seq
11799 self.kwargs = kwargs
11800
11801
11802 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
11803 type = self.type # noqa (assign to builtin)
11804 command = self.command
11805 arguments = self.arguments
11806 seq = self.seq
11807 dct = {
11808 'type': type,
11809 'command': command,
-
E501
Line too long (80 > 79 characters)
11810 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
11811 'seq': seq,
11812 }
11813 dct.update(self.kwargs)
11814 return dct
11815
11816
11817 @register
11818 class DisassembleArguments(BaseSchema):
11819 """
11820 Arguments for 'disassemble' request.
11821
11822 Note: automatically generated code. Do not edit manually.
11823 """
11824
11825 __props__ = {
11826 "memoryReference": {
11827 "type": "string",
-
E501
Line too long (110 > 79 characters)
11828 "description": "Memory reference to the base location containing the instructions to disassemble."
11829 },
11830 "offset": {
11831 "type": "integer",
-
E501
Line too long (134 > 79 characters)
11832 "description": "Optional offset (in bytes) to be applied to the reference location before disassembling. Can be negative."
11833 },
11834 "instructionOffset": {
11835 "type": "integer",
-
E501
Line too long (146 > 79 characters)
11836 "description": "Optional offset (in instructions) to be applied after the byte offset (if any) before disassembling. Can be negative."
11837 },
11838 "instructionCount": {
11839 "type": "integer",
-
E501
Line too long (283 > 79 characters)
11840 "description": "Number of instructions to disassemble starting at the specified location and offset.\nAn adapter must return exactly this number of instructions - any unavailable instructions should be replaced with an implementation-defined 'invalid instruction' value."
11841 },
11842 "resolveSymbols": {
11843 "type": "boolean",
-
E501
Line too long (128 > 79 characters)
11844 "description": "If true, the adapter should attempt to resolve memory addresses and other values to symbolic names."
11845 }
11846 }
11847 __refs__ = set()
11848
11849 __slots__ = list(__props__.keys()) + ['kwargs']
11850
11851 def __init__(self, memoryReference, instructionCount, offset=None, instructionOffset=None, resolveSymbols=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
11852 """
-
E501
Line too long (120 > 79 characters)
11853 :param string memoryReference: Memory reference to the base location containing the instructions to disassemble.
-
E501
Line too long (125 > 79 characters)
11854 :param integer instructionCount: Number of instructions to disassemble starting at the specified location and offset.
-
E501
Line too long (176 > 79 characters)
11855 An adapter must return exactly this number of instructions - any unavailable instructions should be replaced with an implementation-defined 'invalid instruction' value.
-
E501
Line too long (136 > 79 characters)
11856 :param integer offset: Optional offset (in bytes) to be applied to the reference location before disassembling. Can be negative.
-
E501
Line too long (159 > 79 characters)
11857 :param integer instructionOffset: Optional offset (in instructions) to be applied after the byte offset (if any) before disassembling. Can be negative.
-
E501
Line too long (138 > 79 characters)
11858 :param boolean resolveSymbols: If true, the adapter should attempt to resolve memory addresses and other values to symbolic names.
11859 """
11860 self.memoryReference = memoryReference
11861 self.instructionCount = instructionCount
11862 self.offset = offset
11863 self.instructionOffset = instructionOffset
11864 self.resolveSymbols = resolveSymbols
11865 self.kwargs = kwargs
11866
11867
11868 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
11869 memoryReference = self.memoryReference
11870 instructionCount = self.instructionCount
11871 offset = self.offset
11872 instructionOffset = self.instructionOffset
11873 resolveSymbols = self.resolveSymbols
11874 dct = {
11875 'memoryReference': memoryReference,
11876 'instructionCount': instructionCount,
11877 }
11878 if offset is not None:
11879 dct['offset'] = offset
11880 if instructionOffset is not None:
11881 dct['instructionOffset'] = instructionOffset
11882 if resolveSymbols is not None:
11883 dct['resolveSymbols'] = resolveSymbols
11884 dct.update(self.kwargs)
11885 return dct
11886
11887
11888 @register_response('disassemble')
11889 @register
11890 class DisassembleResponse(BaseSchema):
11891 """
11892 Response to 'disassemble' request.
11893
11894 Note: automatically generated code. Do not edit manually.
11895 """
11896
11897 __props__ = {
11898 "seq": {
11899 "type": "integer",
-
E501
Line too long (155 > 79 characters)
11900 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
11901 },
11902 "type": {
11903 "type": "string",
11904 "enum": [
11905 "response"
11906 ]
11907 },
11908 "request_seq": {
11909 "type": "integer",
11910 "description": "Sequence number of the corresponding request."
11911 },
11912 "success": {
11913 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
11914 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
11915 },
11916 "command": {
11917 "type": "string",
11918 "description": "The command requested."
11919 },
11920 "message": {
11921 "type": "string",
-
E501
Line too long (201 > 79 characters)
11922 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
11923 "_enum": [
11924 "cancelled"
11925 ],
11926 "enumDescriptions": [
11927 "request was cancelled."
11928 ]
11929 },
11930 "body": {
11931 "type": "object",
11932 "properties": {
11933 "instructions": {
11934 "type": "array",
11935 "items": {
11936 "$ref": "#/definitions/DisassembledInstruction"
11937 },
11938 "description": "The list of disassembled instructions."
11939 }
11940 },
11941 "required": [
11942 "instructions"
11943 ]
11944 }
11945 }
11946 __refs__ = set(['body'])
11947
11948 __slots__ = list(__props__.keys()) + ['kwargs']
11949
11950 def __init__(self, request_seq, success, command, seq=-1, message=None, body=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
11951 """
11952 :param string type:
-
E501
Line too long (81 > 79 characters)
11953 :param integer request_seq: Sequence number of the corresponding request.
11954 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
11955 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
11956 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
11957 :param string command: The command requested.
-
E501
Line too long (154 > 79 characters)
11958 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
11959 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
11960 This raw error might be interpreted by the frontend and is not shown in the UI.
11961 Some predefined values exist.
11962 :param DisassembleResponseBody body:
11963 """
11964 self.type = 'response'
11965 self.request_seq = request_seq
11966 self.success = success
11967 self.command = command
11968 self.seq = seq
11969 self.message = message
11970 if body is None:
11971 self.body = DisassembleResponseBody()
11972 else:
-
E501
Line too long (152 > 79 characters)
-
E222
Multiple spaces after operator
11973 self.body = DisassembleResponseBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != DisassembleResponseBody else body
11974 self.kwargs = kwargs
11975
11976
11977 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
11978 type = self.type # noqa (assign to builtin)
11979 request_seq = self.request_seq
11980 success = self.success
11981 command = self.command
11982 seq = self.seq
11983 message = self.message
11984 body = self.body
11985 dct = {
11986 'type': type,
11987 'request_seq': request_seq,
11988 'success': success,
11989 'command': command,
11990 'seq': seq,
11991 }
11992 if message is not None:
11993 dct['message'] = message
11994 if body is not None:
11995 dct['body'] = body.to_dict(update_ids_to_dap=update_ids_to_dap)
11996 dct.update(self.kwargs)
11997 return dct
11998
11999
12000 @register
12001 class Capabilities(BaseSchema):
12002 """
12003 Information about the capabilities of a debug adapter.
12004
12005 Note: automatically generated code. Do not edit manually.
12006 """
12007
12008 __props__ = {
12009 "supportsConfigurationDoneRequest": {
12010 "type": "boolean",
-
E501
Line too long (88 > 79 characters)
12011 "description": "The debug adapter supports the 'configurationDone' request."
12012 },
12013 "supportsFunctionBreakpoints": {
12014 "type": "boolean",
12015 "description": "The debug adapter supports function breakpoints."
12016 },
12017 "supportsConditionalBreakpoints": {
12018 "type": "boolean",
-
E501
Line too long (80 > 79 characters)
12019 "description": "The debug adapter supports conditional breakpoints."
12020 },
12021 "supportsHitConditionalBreakpoints": {
12022 "type": "boolean",
-
E501
Line too long (122 > 79 characters)
12023 "description": "The debug adapter supports breakpoints that break execution after a specified number of hits."
12024 },
12025 "supportsEvaluateForHovers": {
12026 "type": "boolean",
-
E501
Line too long (110 > 79 characters)
12027 "description": "The debug adapter supports a (side effect free) evaluate request for data hovers."
12028 },
12029 "exceptionBreakpointFilters": {
12030 "type": "array",
12031 "items": {
12032 "$ref": "#/definitions/ExceptionBreakpointsFilter"
12033 },
-
E501
Line too long (106 > 79 characters)
12034 "description": "Available exception filter options for the 'setExceptionBreakpoints' request."
12035 },
12036 "supportsStepBack": {
12037 "type": "boolean",
-
E501
Line too long (120 > 79 characters)
12038 "description": "The debug adapter supports stepping back via the 'stepBack' and 'reverseContinue' requests."
12039 },
12040 "supportsSetVariable": {
12041 "type": "boolean",
-
E501
Line too long (86 > 79 characters)
12042 "description": "The debug adapter supports setting a variable to a value."
12043 },
12044 "supportsRestartFrame": {
12045 "type": "boolean",
12046 "description": "The debug adapter supports restarting a frame."
12047 },
12048 "supportsGotoTargetsRequest": {
12049 "type": "boolean",
-
E501
Line too long (82 > 79 characters)
12050 "description": "The debug adapter supports the 'gotoTargets' request."
12051 },
12052 "supportsStepInTargetsRequest": {
12053 "type": "boolean",
-
E501
Line too long (84 > 79 characters)
12054 "description": "The debug adapter supports the 'stepInTargets' request."
12055 },
12056 "supportsCompletionsRequest": {
12057 "type": "boolean",
-
E501
Line too long (82 > 79 characters)
12058 "description": "The debug adapter supports the 'completions' request."
12059 },
12060 "completionTriggerCharacters": {
12061 "type": "array",
12062 "items": {
12063 "type": "string"
12064 },
-
E501
Line too long (150 > 79 characters)
12065 "description": "The set of characters that should trigger completion in a REPL. If not specified, the UI should assume the '.' character."
12066 },
12067 "supportsModulesRequest": {
12068 "type": "boolean",
12069 "description": "The debug adapter supports the 'modules' request."
12070 },
12071 "additionalModuleColumns": {
12072 "type": "array",
12073 "items": {
12074 "$ref": "#/definitions/ColumnDescriptor"
12075 },
-
E501
Line too long (99 > 79 characters)
12076 "description": "The set of additional module information exposed by the debug adapter."
12077 },
12078 "supportedChecksumAlgorithms": {
12079 "type": "array",
12080 "items": {
12081 "$ref": "#/definitions/ChecksumAlgorithm"
12082 },
-
E501
Line too long (80 > 79 characters)
12083 "description": "Checksum algorithms supported by the debug adapter."
12084 },
12085 "supportsRestartRequest": {
12086 "type": "boolean",
-
E501
Line too long (209 > 79 characters)
12087 "description": "The debug adapter supports the 'restart' request. In this case a client should not implement 'restart' by terminating and relaunching the adapter but by calling the RestartRequest."
12088 },
12089 "supportsExceptionOptions": {
12090 "type": "boolean",
-
E501
Line too long (114 > 79 characters)
12091 "description": "The debug adapter supports 'exceptionOptions' on the setExceptionBreakpoints request."
12092 },
12093 "supportsValueFormattingOptions": {
12094 "type": "boolean",
-
E501
Line too long (141 > 79 characters)
12095 "description": "The debug adapter supports a 'format' attribute on the stackTraceRequest, variablesRequest, and evaluateRequest."
12096 },
12097 "supportsExceptionInfoRequest": {
12098 "type": "boolean",
-
E501
Line too long (84 > 79 characters)
12099 "description": "The debug adapter supports the 'exceptionInfo' request."
12100 },
12101 "supportTerminateDebuggee": {
12102 "type": "boolean",
-
E501
Line too long (118 > 79 characters)
12103 "description": "The debug adapter supports the 'terminateDebuggee' attribute on the 'disconnect' request."
12104 },
12105 "supportsDelayedStackTraceLoading": {
12106 "type": "boolean",
-
E501
Line too long (243 > 79 characters)
12107 "description": "The debug adapter supports the delayed loading of parts of the stack, which requires that both the 'startFrame' and 'levels' arguments and an optional 'totalFrames' result of the 'StackTrace' request are supported."
12108 },
12109 "supportsLoadedSourcesRequest": {
12110 "type": "boolean",
-
E501
Line too long (84 > 79 characters)
12111 "description": "The debug adapter supports the 'loadedSources' request."
12112 },
12113 "supportsLogPoints": {
12114 "type": "boolean",
-
E501
Line too long (133 > 79 characters)
12115 "description": "The debug adapter supports logpoints by interpreting the 'logMessage' attribute of the SourceBreakpoint."
12116 },
12117 "supportsTerminateThreadsRequest": {
12118 "type": "boolean",
-
E501
Line too long (87 > 79 characters)
12119 "description": "The debug adapter supports the 'terminateThreads' request."
12120 },
12121 "supportsSetExpression": {
12122 "type": "boolean",
-
E501
Line too long (84 > 79 characters)
12123 "description": "The debug adapter supports the 'setExpression' request."
12124 },
12125 "supportsTerminateRequest": {
12126 "type": "boolean",
-
E501
Line too long (80 > 79 characters)
12127 "description": "The debug adapter supports the 'terminate' request."
12128 },
12129 "supportsDataBreakpoints": {
12130 "type": "boolean",
12131 "description": "The debug adapter supports data breakpoints."
12132 },
12133 "supportsReadMemoryRequest": {
12134 "type": "boolean",
-
E501
Line too long (81 > 79 characters)
12135 "description": "The debug adapter supports the 'readMemory' request."
12136 },
12137 "supportsDisassembleRequest": {
12138 "type": "boolean",
-
E501
Line too long (82 > 79 characters)
12139 "description": "The debug adapter supports the 'disassemble' request."
12140 },
12141 "supportsCancelRequest": {
12142 "type": "boolean",
12143 "description": "The debug adapter supports the 'cancel' request."
12144 },
12145 "supportsBreakpointLocationsRequest": {
12146 "type": "boolean",
-
E501
Line too long (90 > 79 characters)
12147 "description": "The debug adapter supports the 'breakpointLocations' request."
12148 },
12149 "supportsClipboardContext": {
12150 "type": "boolean",
-
E501
Line too long (112 > 79 characters)
12151 "description": "The debug adapter supports the 'clipboard' context value in the 'evaluate' request."
12152 },
12153 "supportsSteppingGranularity": {
12154 "type": "boolean",
-
E501
Line too long (130 > 79 characters)
12155 "description": "The debug adapter supports stepping granularities (argument 'granularity') for the stepping requests."
12156 },
12157 "supportsInstructionBreakpoints": {
12158 "type": "boolean",
-
E501
Line too long (107 > 79 characters)
12159 "description": "The debug adapter supports adding breakpoints based on instruction references."
12160 },
12161 "supportsExceptionFilterOptions": {
12162 "type": "boolean",
-
E501
Line too long (128 > 79 characters)
12163 "description": "The debug adapter supports 'filterOptions' as an argument on the 'setExceptionBreakpoints' request."
12164 }
12165 }
12166 __refs__ = set()
12167
12168 __slots__ = list(__props__.keys()) + ['kwargs']
12169
12170 def __init__(self, supportsConfigurationDoneRequest=None, supportsFunctionBreakpoints=None, supportsConditionalBreakpoints=None, supportsHitConditionalBreakpoints=None, supportsEvaluateForHovers=None, exceptionBreakpointFilters=None, supportsStepBack=None, supportsSetVariable=None, supportsRestartFrame=None, supportsGotoTargetsRequest=None, supportsStepInTargetsRequest=None, supportsCompletionsRequest=None, completionTriggerCharacters=None, supportsModulesRequest=None, additionalModuleColumns=None, supportedChecksumAlgorithms=None, supportsRestartRequest=None, supportsExceptionOptions=None, supportsValueFormattingOptions=None, supportsExceptionInfoRequest=None, supportTerminateDebuggee=None, supportsDelayedStackTraceLoading=None, supportsLoadedSourcesRequest=None, supportsLogPoints=None, supportsTerminateThreadsRequest=None, supportsSetExpression=None, supportsTerminateRequest=None, supportsDataBreakpoints=None, supportsReadMemoryRequest=None, supportsDisassembleRequest=None, supportsCancelRequest=None, supportsBreakpointLocationsRequest=None, supportsClipboardContext=None, supportsSteppingGranularity=None, supportsInstructionBreakpoints=None, supportsExceptionFilterOptions=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
12171 """
-
E501
Line too long (116 > 79 characters)
12172 :param boolean supportsConfigurationDoneRequest: The debug adapter supports the 'configurationDone' request.
-
E501
Line too long (100 > 79 characters)
12173 :param boolean supportsFunctionBreakpoints: The debug adapter supports function breakpoints.
-
E501
Line too long (106 > 79 characters)
12174 :param boolean supportsConditionalBreakpoints: The debug adapter supports conditional breakpoints.
-
E501
Line too long (151 > 79 characters)
12175 :param boolean supportsHitConditionalBreakpoints: The debug adapter supports breakpoints that break execution after a specified number of hits.
-
E501
Line too long (131 > 79 characters)
12176 :param boolean supportsEvaluateForHovers: The debug adapter supports a (side effect free) evaluate request for data hovers.
-
E501
Line too long (126 > 79 characters)
12177 :param array exceptionBreakpointFilters: Available exception filter options for the 'setExceptionBreakpoints' request.
-
E501
Line too long (132 > 79 characters)
12178 :param boolean supportsStepBack: The debug adapter supports stepping back via the 'stepBack' and 'reverseContinue' requests.
-
E501
Line too long (101 > 79 characters)
12179 :param boolean supportsSetVariable: The debug adapter supports setting a variable to a value.
-
E501
Line too long (91 > 79 characters)
12180 :param boolean supportsRestartFrame: The debug adapter supports restarting a frame.
-
E501
Line too long (104 > 79 characters)
12181 :param boolean supportsGotoTargetsRequest: The debug adapter supports the 'gotoTargets' request.
-
E501
Line too long (108 > 79 characters)
12182 :param boolean supportsStepInTargetsRequest: The debug adapter supports the 'stepInTargets' request.
-
E501
Line too long (104 > 79 characters)
12183 :param boolean supportsCompletionsRequest: The debug adapter supports the 'completions' request.
-
E501
Line too long (171 > 79 characters)
12184 :param array completionTriggerCharacters: The set of characters that should trigger completion in a REPL. If not specified, the UI should assume the '.' character.
-
E501
Line too long (96 > 79 characters)
12185 :param boolean supportsModulesRequest: The debug adapter supports the 'modules' request.
-
E501
Line too long (116 > 79 characters)
12186 :param array additionalModuleColumns: The set of additional module information exposed by the debug adapter.
-
E501
Line too long (101 > 79 characters)
12187 :param array supportedChecksumAlgorithms: Checksum algorithms supported by the debug adapter.
-
E501
Line too long (227 > 79 characters)
12188 :param boolean supportsRestartRequest: The debug adapter supports the 'restart' request. In this case a client should not implement 'restart' by terminating and relaunching the adapter but by calling the RestartRequest.
-
E501
Line too long (134 > 79 characters)
12189 :param boolean supportsExceptionOptions: The debug adapter supports 'exceptionOptions' on the setExceptionBreakpoints request.
-
E501
Line too long (167 > 79 characters)
12190 :param boolean supportsValueFormattingOptions: The debug adapter supports a 'format' attribute on the stackTraceRequest, variablesRequest, and evaluateRequest.
-
E501
Line too long (108 > 79 characters)
12191 :param boolean supportsExceptionInfoRequest: The debug adapter supports the 'exceptionInfo' request.
-
E501
Line too long (138 > 79 characters)
12192 :param boolean supportTerminateDebuggee: The debug adapter supports the 'terminateDebuggee' attribute on the 'disconnect' request.
-
E501
Line too long (271 > 79 characters)
12193 :param boolean supportsDelayedStackTraceLoading: The debug adapter supports the delayed loading of parts of the stack, which requires that both the 'startFrame' and 'levels' arguments and an optional 'totalFrames' result of the 'StackTrace' request are supported.
-
E501
Line too long (108 > 79 characters)
12194 :param boolean supportsLoadedSourcesRequest: The debug adapter supports the 'loadedSources' request.
-
E501
Line too long (146 > 79 characters)
12195 :param boolean supportsLogPoints: The debug adapter supports logpoints by interpreting the 'logMessage' attribute of the SourceBreakpoint.
-
E501
Line too long (114 > 79 characters)
12196 :param boolean supportsTerminateThreadsRequest: The debug adapter supports the 'terminateThreads' request.
-
E501
Line too long (101 > 79 characters)
12197 :param boolean supportsSetExpression: The debug adapter supports the 'setExpression' request.
-
E501
Line too long (100 > 79 characters)
12198 :param boolean supportsTerminateRequest: The debug adapter supports the 'terminate' request.
-
E501
Line too long (92 > 79 characters)
12199 :param boolean supportsDataBreakpoints: The debug adapter supports data breakpoints.
-
E501
Line too long (102 > 79 characters)
12200 :param boolean supportsReadMemoryRequest: The debug adapter supports the 'readMemory' request.
-
E501
Line too long (104 > 79 characters)
12201 :param boolean supportsDisassembleRequest: The debug adapter supports the 'disassemble' request.
-
E501
Line too long (94 > 79 characters)
12202 :param boolean supportsCancelRequest: The debug adapter supports the 'cancel' request.
-
E501
Line too long (120 > 79 characters)
12203 :param boolean supportsBreakpointLocationsRequest: The debug adapter supports the 'breakpointLocations' request.
-
E501
Line too long (132 > 79 characters)
12204 :param boolean supportsClipboardContext: The debug adapter supports the 'clipboard' context value in the 'evaluate' request.
-
E501
Line too long (153 > 79 characters)
12205 :param boolean supportsSteppingGranularity: The debug adapter supports stepping granularities (argument 'granularity') for the stepping requests.
-
E501
Line too long (133 > 79 characters)
12206 :param boolean supportsInstructionBreakpoints: The debug adapter supports adding breakpoints based on instruction references.
-
E501
Line too long (154 > 79 characters)
12207 :param boolean supportsExceptionFilterOptions: The debug adapter supports 'filterOptions' as an argument on the 'setExceptionBreakpoints' request.
12208 """
-
E501
Line too long (80 > 79 characters)
12209 self.supportsConfigurationDoneRequest = supportsConfigurationDoneRequest
12210 self.supportsFunctionBreakpoints = supportsFunctionBreakpoints
12211 self.supportsConditionalBreakpoints = supportsConditionalBreakpoints
-
E501
Line too long (82 > 79 characters)
12212 self.supportsHitConditionalBreakpoints = supportsHitConditionalBreakpoints
12213 self.supportsEvaluateForHovers = supportsEvaluateForHovers
12214 self.exceptionBreakpointFilters = exceptionBreakpointFilters
12215 if update_ids_from_dap and self.exceptionBreakpointFilters:
12216 for o in self.exceptionBreakpointFilters:
12217 ExceptionBreakpointsFilter.update_dict_ids_from_dap(o)
12218 self.supportsStepBack = supportsStepBack
12219 self.supportsSetVariable = supportsSetVariable
12220 self.supportsRestartFrame = supportsRestartFrame
12221 self.supportsGotoTargetsRequest = supportsGotoTargetsRequest
12222 self.supportsStepInTargetsRequest = supportsStepInTargetsRequest
12223 self.supportsCompletionsRequest = supportsCompletionsRequest
12224 self.completionTriggerCharacters = completionTriggerCharacters
12225 self.supportsModulesRequest = supportsModulesRequest
12226 self.additionalModuleColumns = additionalModuleColumns
12227 if update_ids_from_dap and self.additionalModuleColumns:
12228 for o in self.additionalModuleColumns:
12229 ColumnDescriptor.update_dict_ids_from_dap(o)
12230 self.supportedChecksumAlgorithms = supportedChecksumAlgorithms
12231 if update_ids_from_dap and self.supportedChecksumAlgorithms:
12232 for o in self.supportedChecksumAlgorithms:
12233 ChecksumAlgorithm.update_dict_ids_from_dap(o)
12234 self.supportsRestartRequest = supportsRestartRequest
12235 self.supportsExceptionOptions = supportsExceptionOptions
12236 self.supportsValueFormattingOptions = supportsValueFormattingOptions
12237 self.supportsExceptionInfoRequest = supportsExceptionInfoRequest
12238 self.supportTerminateDebuggee = supportTerminateDebuggee
-
E501
Line too long (80 > 79 characters)
12239 self.supportsDelayedStackTraceLoading = supportsDelayedStackTraceLoading
12240 self.supportsLoadedSourcesRequest = supportsLoadedSourcesRequest
12241 self.supportsLogPoints = supportsLogPoints
12242 self.supportsTerminateThreadsRequest = supportsTerminateThreadsRequest
12243 self.supportsSetExpression = supportsSetExpression
12244 self.supportsTerminateRequest = supportsTerminateRequest
12245 self.supportsDataBreakpoints = supportsDataBreakpoints
12246 self.supportsReadMemoryRequest = supportsReadMemoryRequest
12247 self.supportsDisassembleRequest = supportsDisassembleRequest
12248 self.supportsCancelRequest = supportsCancelRequest
-
E501
Line too long (84 > 79 characters)
12249 self.supportsBreakpointLocationsRequest = supportsBreakpointLocationsRequest
12250 self.supportsClipboardContext = supportsClipboardContext
12251 self.supportsSteppingGranularity = supportsSteppingGranularity
12252 self.supportsInstructionBreakpoints = supportsInstructionBreakpoints
12253 self.supportsExceptionFilterOptions = supportsExceptionFilterOptions
12254 self.kwargs = kwargs
12255
12256
12257 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
-
E501
Line too long (80 > 79 characters)
12258 supportsConfigurationDoneRequest = self.supportsConfigurationDoneRequest
12259 supportsFunctionBreakpoints = self.supportsFunctionBreakpoints
12260 supportsConditionalBreakpoints = self.supportsConditionalBreakpoints
-
E501
Line too long (82 > 79 characters)
12261 supportsHitConditionalBreakpoints = self.supportsHitConditionalBreakpoints
12262 supportsEvaluateForHovers = self.supportsEvaluateForHovers
12263 exceptionBreakpointFilters = self.exceptionBreakpointFilters
-
E501
Line too long (92 > 79 characters)
12264 if exceptionBreakpointFilters and hasattr(exceptionBreakpointFilters[0], "to_dict"):
-
E501
Line too long (90 > 79 characters)
12265 exceptionBreakpointFilters = [x.to_dict() for x in exceptionBreakpointFilters]
12266 supportsStepBack = self.supportsStepBack
12267 supportsSetVariable = self.supportsSetVariable
12268 supportsRestartFrame = self.supportsRestartFrame
12269 supportsGotoTargetsRequest = self.supportsGotoTargetsRequest
12270 supportsStepInTargetsRequest = self.supportsStepInTargetsRequest
12271 supportsCompletionsRequest = self.supportsCompletionsRequest
12272 completionTriggerCharacters = self.completionTriggerCharacters
-
E501
Line too long (94 > 79 characters)
12273 if completionTriggerCharacters and hasattr(completionTriggerCharacters[0], "to_dict"):
-
E501
Line too long (92 > 79 characters)
12274 completionTriggerCharacters = [x.to_dict() for x in completionTriggerCharacters]
12275 supportsModulesRequest = self.supportsModulesRequest
12276 additionalModuleColumns = self.additionalModuleColumns
-
E501
Line too long (86 > 79 characters)
12277 if additionalModuleColumns and hasattr(additionalModuleColumns[0], "to_dict"):
-
E501
Line too long (84 > 79 characters)
12278 additionalModuleColumns = [x.to_dict() for x in additionalModuleColumns]
12279 supportedChecksumAlgorithms = self.supportedChecksumAlgorithms
-
E501
Line too long (94 > 79 characters)
12280 if supportedChecksumAlgorithms and hasattr(supportedChecksumAlgorithms[0], "to_dict"):
-
E501
Line too long (92 > 79 characters)
12281 supportedChecksumAlgorithms = [x.to_dict() for x in supportedChecksumAlgorithms]
12282 supportsRestartRequest = self.supportsRestartRequest
12283 supportsExceptionOptions = self.supportsExceptionOptions
12284 supportsValueFormattingOptions = self.supportsValueFormattingOptions
12285 supportsExceptionInfoRequest = self.supportsExceptionInfoRequest
12286 supportTerminateDebuggee = self.supportTerminateDebuggee
-
E501
Line too long (80 > 79 characters)
12287 supportsDelayedStackTraceLoading = self.supportsDelayedStackTraceLoading
12288 supportsLoadedSourcesRequest = self.supportsLoadedSourcesRequest
12289 supportsLogPoints = self.supportsLogPoints
12290 supportsTerminateThreadsRequest = self.supportsTerminateThreadsRequest
12291 supportsSetExpression = self.supportsSetExpression
12292 supportsTerminateRequest = self.supportsTerminateRequest
12293 supportsDataBreakpoints = self.supportsDataBreakpoints
12294 supportsReadMemoryRequest = self.supportsReadMemoryRequest
12295 supportsDisassembleRequest = self.supportsDisassembleRequest
12296 supportsCancelRequest = self.supportsCancelRequest
-
E501
Line too long (84 > 79 characters)
12297 supportsBreakpointLocationsRequest = self.supportsBreakpointLocationsRequest
12298 supportsClipboardContext = self.supportsClipboardContext
12299 supportsSteppingGranularity = self.supportsSteppingGranularity
12300 supportsInstructionBreakpoints = self.supportsInstructionBreakpoints
12301 supportsExceptionFilterOptions = self.supportsExceptionFilterOptions
12302 dct = {
12303 }
12304 if supportsConfigurationDoneRequest is not None:
-
E501
Line too long (86 > 79 characters)
12305 dct['supportsConfigurationDoneRequest'] = supportsConfigurationDoneRequest
12306 if supportsFunctionBreakpoints is not None:
12307 dct['supportsFunctionBreakpoints'] = supportsFunctionBreakpoints
12308 if supportsConditionalBreakpoints is not None:
-
E501
Line too long (82 > 79 characters)
12309 dct['supportsConditionalBreakpoints'] = supportsConditionalBreakpoints
12310 if supportsHitConditionalBreakpoints is not None:
-
E501
Line too long (88 > 79 characters)
12311 dct['supportsHitConditionalBreakpoints'] = supportsHitConditionalBreakpoints
12312 if supportsEvaluateForHovers is not None:
12313 dct['supportsEvaluateForHovers'] = supportsEvaluateForHovers
12314 if exceptionBreakpointFilters is not None:
-
E501
Line too long (224 > 79 characters)
12315 dct['exceptionBreakpointFilters'] = [ExceptionBreakpointsFilter.update_dict_ids_to_dap(o) for o in exceptionBreakpointFilters] if (update_ids_to_dap and exceptionBreakpointFilters) else exceptionBreakpointFilters
12316 if supportsStepBack is not None:
12317 dct['supportsStepBack'] = supportsStepBack
12318 if supportsSetVariable is not None:
12319 dct['supportsSetVariable'] = supportsSetVariable
12320 if supportsRestartFrame is not None:
12321 dct['supportsRestartFrame'] = supportsRestartFrame
12322 if supportsGotoTargetsRequest is not None:
12323 dct['supportsGotoTargetsRequest'] = supportsGotoTargetsRequest
12324 if supportsStepInTargetsRequest is not None:
12325 dct['supportsStepInTargetsRequest'] = supportsStepInTargetsRequest
12326 if supportsCompletionsRequest is not None:
12327 dct['supportsCompletionsRequest'] = supportsCompletionsRequest
12328 if completionTriggerCharacters is not None:
12329 dct['completionTriggerCharacters'] = completionTriggerCharacters
12330 if supportsModulesRequest is not None:
12331 dct['supportsModulesRequest'] = supportsModulesRequest
12332 if additionalModuleColumns is not None:
-
E501
Line too long (202 > 79 characters)
12333 dct['additionalModuleColumns'] = [ColumnDescriptor.update_dict_ids_to_dap(o) for o in additionalModuleColumns] if (update_ids_to_dap and additionalModuleColumns) else additionalModuleColumns
12334 if supportedChecksumAlgorithms is not None:
-
E501
Line too long (219 > 79 characters)
12335 dct['supportedChecksumAlgorithms'] = [ChecksumAlgorithm.update_dict_ids_to_dap(o) for o in supportedChecksumAlgorithms] if (update_ids_to_dap and supportedChecksumAlgorithms) else supportedChecksumAlgorithms
12336 if supportsRestartRequest is not None:
12337 dct['supportsRestartRequest'] = supportsRestartRequest
12338 if supportsExceptionOptions is not None:
12339 dct['supportsExceptionOptions'] = supportsExceptionOptions
12340 if supportsValueFormattingOptions is not None:
-
E501
Line too long (82 > 79 characters)
12341 dct['supportsValueFormattingOptions'] = supportsValueFormattingOptions
12342 if supportsExceptionInfoRequest is not None:
12343 dct['supportsExceptionInfoRequest'] = supportsExceptionInfoRequest
12344 if supportTerminateDebuggee is not None:
12345 dct['supportTerminateDebuggee'] = supportTerminateDebuggee
12346 if supportsDelayedStackTraceLoading is not None:
-
E501
Line too long (86 > 79 characters)
12347 dct['supportsDelayedStackTraceLoading'] = supportsDelayedStackTraceLoading
12348 if supportsLoadedSourcesRequest is not None:
12349 dct['supportsLoadedSourcesRequest'] = supportsLoadedSourcesRequest
12350 if supportsLogPoints is not None:
12351 dct['supportsLogPoints'] = supportsLogPoints
12352 if supportsTerminateThreadsRequest is not None:
-
E501
Line too long (84 > 79 characters)
12353 dct['supportsTerminateThreadsRequest'] = supportsTerminateThreadsRequest
12354 if supportsSetExpression is not None:
12355 dct['supportsSetExpression'] = supportsSetExpression
12356 if supportsTerminateRequest is not None:
12357 dct['supportsTerminateRequest'] = supportsTerminateRequest
12358 if supportsDataBreakpoints is not None:
12359 dct['supportsDataBreakpoints'] = supportsDataBreakpoints
12360 if supportsReadMemoryRequest is not None:
12361 dct['supportsReadMemoryRequest'] = supportsReadMemoryRequest
12362 if supportsDisassembleRequest is not None:
12363 dct['supportsDisassembleRequest'] = supportsDisassembleRequest
12364 if supportsCancelRequest is not None:
12365 dct['supportsCancelRequest'] = supportsCancelRequest
12366 if supportsBreakpointLocationsRequest is not None:
-
E501
Line too long (90 > 79 characters)
12367 dct['supportsBreakpointLocationsRequest'] = supportsBreakpointLocationsRequest
12368 if supportsClipboardContext is not None:
12369 dct['supportsClipboardContext'] = supportsClipboardContext
12370 if supportsSteppingGranularity is not None:
12371 dct['supportsSteppingGranularity'] = supportsSteppingGranularity
12372 if supportsInstructionBreakpoints is not None:
-
E501
Line too long (82 > 79 characters)
12373 dct['supportsInstructionBreakpoints'] = supportsInstructionBreakpoints
12374 if supportsExceptionFilterOptions is not None:
-
E501
Line too long (82 > 79 characters)
12375 dct['supportsExceptionFilterOptions'] = supportsExceptionFilterOptions
12376 dct.update(self.kwargs)
12377 return dct
12378
12379
12380 @register
12381 class ExceptionBreakpointsFilter(BaseSchema):
12382 """
-
E501
Line too long (103 > 79 characters)
12383 An ExceptionBreakpointsFilter is shown in the UI as an filter option for configuring how exceptions
12384 are dealt with.
12385
12386 Note: automatically generated code. Do not edit manually.
12387 """
12388
12389 __props__ = {
12390 "filter": {
12391 "type": "string",
-
E501
Line too long (129 > 79 characters)
12392 "description": "The internal ID of the filter option. This value is passed to the 'setExceptionBreakpoints' request."
12393 },
12394 "label": {
12395 "type": "string",
-
E501
Line too long (89 > 79 characters)
12396 "description": "The name of the filter option. This will be shown in the UI."
12397 },
12398 "default": {
12399 "type": "boolean",
-
E501
Line too long (109 > 79 characters)
12400 "description": "Initial value of the filter option. If not specified a value 'false' is assumed."
12401 },
12402 "supportsCondition": {
12403 "type": "boolean",
-
E501
Line too long (147 > 79 characters)
12404 "description": "Controls whether a condition can be specified for this filter option. If false or missing, a condition can not be set."
12405 }
12406 }
12407 __refs__ = set()
12408
12409 __slots__ = list(__props__.keys()) + ['kwargs']
12410
12411 def __init__(self, filter, label, default=None, supportsCondition=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
12412 """
-
E501
Line too long (130 > 79 characters)
12413 :param string filter: The internal ID of the filter option. This value is passed to the 'setExceptionBreakpoints' request.
-
E501
Line too long (89 > 79 characters)
12414 :param string label: The name of the filter option. This will be shown in the UI.
-
E501
Line too long (112 > 79 characters)
12415 :param boolean default: Initial value of the filter option. If not specified a value 'false' is assumed.
-
E501
Line too long (160 > 79 characters)
12416 :param boolean supportsCondition: Controls whether a condition can be specified for this filter option. If false or missing, a condition can not be set.
12417 """
12418 self.filter = filter
12419 self.label = label
12420 self.default = default
12421 self.supportsCondition = supportsCondition
12422 self.kwargs = kwargs
12423
12424
12425 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
12426 filter = self.filter # noqa (assign to builtin)
12427 label = self.label
12428 default = self.default
12429 supportsCondition = self.supportsCondition
12430 dct = {
12431 'filter': filter,
12432 'label': label,
12433 }
12434 if default is not None:
12435 dct['default'] = default
12436 if supportsCondition is not None:
12437 dct['supportsCondition'] = supportsCondition
12438 dct.update(self.kwargs)
12439 return dct
12440
12441
12442 @register
12443 class Message(BaseSchema):
12444 """
12445 A structured message object. Used to return errors from requests.
12446
12447 Note: automatically generated code. Do not edit manually.
12448 """
12449
12450 __props__ = {
12451 "id": {
12452 "type": "integer",
12453 "description": "Unique identifier for the message."
12454 },
12455 "format": {
12456 "type": "string",
-
E501
Line too long (252 > 79 characters)
12457 "description": "A format string for the message. Embedded variables have the form '{name}'.\nIf variable name starts with an underscore character, the variable does not contain user data (PII) and can be safely used for telemetry purposes."
12458 },
12459 "variables": {
12460 "type": "object",
-
E501
Line too long (111 > 79 characters)
12461 "description": "An object used as a dictionary for looking up the variables in the format string.",
12462 "additionalProperties": {
12463 "type": "string",
12464 "description": "Values must be strings."
12465 }
12466 },
12467 "sendTelemetry": {
12468 "type": "boolean",
12469 "description": "If true send to telemetry."
12470 },
12471 "showUser": {
12472 "type": "boolean",
12473 "description": "If true show user."
12474 },
12475 "url": {
12476 "type": "string",
-
E501
Line too long (106 > 79 characters)
12477 "description": "An optional url where additional information about this message can be found."
12478 },
12479 "urlLabel": {
12480 "type": "string",
-
E501
Line too long (107 > 79 characters)
12481 "description": "An optional label that is presented to the user as the UI for opening the url."
12482 }
12483 }
12484 __refs__ = set(['variables'])
12485
12486 __slots__ = list(__props__.keys()) + ['kwargs']
12487
12488 def __init__(self, id, format, variables=None, sendTelemetry=None, showUser=None, url=None, urlLabel=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
12489 """
12490 :param integer id: Unique identifier for the message.
-
E501
Line too long (105 > 79 characters)
12491 :param string format: A format string for the message. Embedded variables have the form '{name}'.
-
E501
Line too long (154 > 79 characters)
12492 If variable name starts with an underscore character, the variable does not contain user data (PII) and can be safely used for telemetry purposes.
-
E501
Line too long (124 > 79 characters)
12493 :param MessageVariables variables: An object used as a dictionary for looking up the variables in the format string.
12494 :param boolean sendTelemetry: If true send to telemetry.
12495 :param boolean showUser: If true show user.
-
E501
Line too long (104 > 79 characters)
12496 :param string url: An optional url where additional information about this message can be found.
-
E501
Line too long (110 > 79 characters)
12497 :param string urlLabel: An optional label that is presented to the user as the UI for opening the url.
12498 """
12499 self.id = id
12500 self.format = format
12501 if variables is None:
12502 self.variables = MessageVariables()
12503 else:
-
E501
Line too long (158 > 79 characters)
-
E222
Multiple spaces after operator
12504 self.variables = MessageVariables(update_ids_from_dap=update_ids_from_dap, **variables) if variables.__class__ != MessageVariables else variables
12505 self.sendTelemetry = sendTelemetry
12506 self.showUser = showUser
12507 self.url = url
12508 self.urlLabel = urlLabel
12509 self.kwargs = kwargs
12510
12511
12512 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
12513 id = self.id # noqa (assign to builtin)
12514 format = self.format # noqa (assign to builtin)
12515 variables = self.variables
12516 sendTelemetry = self.sendTelemetry
12517 showUser = self.showUser
12518 url = self.url
12519 urlLabel = self.urlLabel
12520 dct = {
12521 'id': id,
12522 'format': format,
12523 }
12524 if variables is not None:
-
E501
Line too long (85 > 79 characters)
12525 dct['variables'] = variables.to_dict(update_ids_to_dap=update_ids_to_dap)
12526 if sendTelemetry is not None:
12527 dct['sendTelemetry'] = sendTelemetry
12528 if showUser is not None:
12529 dct['showUser'] = showUser
12530 if url is not None:
12531 dct['url'] = url
12532 if urlLabel is not None:
12533 dct['urlLabel'] = urlLabel
12534 dct.update(self.kwargs)
12535 return dct
12536
12537
12538 @register
12539 class Module(BaseSchema):
12540 """
12541 A Module object represents a row in the modules view.
-
W293
Blank line contains whitespace
12542
-
E501
Line too long (96 > 79 characters)
12543 Two attributes are mandatory: an id identifies a module in the modules view and is used in a
12544 ModuleEvent for identifying a module for adding, updating or deleting.
-
W293
Blank line contains whitespace
12545
12546 The name is used to minimally render the module in the UI.
-
W293
Blank line contains whitespace
12547
-
W293
Blank line contains whitespace
12548
-
E501
Line too long (103 > 79 characters)
12549 Additional attributes can be added to the module. They will show up in the module View if they have
12550 a corresponding ColumnDescriptor.
-
W293
Blank line contains whitespace
12551
-
W293
Blank line contains whitespace
12552
-
E501
Line too long (103 > 79 characters)
12553 To avoid an unnecessary proliferation of additional attributes with similar semantics but different
12554 names
-
W293
Blank line contains whitespace
12555
-
E501
Line too long (101 > 79 characters)
12556 we recommend to re-use attributes from the 'recommended' list below first, and only introduce new
12557 attributes if nothing appropriate could be found.
12558
12559 Note: automatically generated code. Do not edit manually.
12560 """
12561
12562 __props__ = {
12563 "id": {
12564 "type": [
12565 "integer",
12566 "string"
12567 ],
12568 "description": "Unique identifier for the module."
12569 },
12570 "name": {
12571 "type": "string",
12572 "description": "A name of the module."
12573 },
12574 "path": {
12575 "type": "string",
-
E501
Line too long (296 > 79 characters)
12576 "description": "optional but recommended attributes.\nalways try to use these first before introducing additional attributes.\n\nLogical full path to the module. The exact definition is implementation defined, but usually this would be a full path to the on-disk file for the module."
12577 },
12578 "isOptimized": {
12579 "type": "boolean",
12580 "description": "True if the module is optimized."
12581 },
12582 "isUserCode": {
12583 "type": "boolean",
-
E501
Line too long (117 > 79 characters)
12584 "description": "True if the module is considered 'user code' by a debugger that supports 'Just My Code'."
12585 },
12586 "version": {
12587 "type": "string",
12588 "description": "Version of Module."
12589 },
12590 "symbolStatus": {
12591 "type": "string",
-
E501
Line too long (149 > 79 characters)
12592 "description": "User understandable description of if symbols were found for the module (ex: 'Symbols Loaded', 'Symbols not found', etc."
12593 },
12594 "symbolFilePath": {
12595 "type": "string",
-
E501
Line too long (114 > 79 characters)
12596 "description": "Logical full path to the symbol file. The exact definition is implementation defined."
12597 },
12598 "dateTimeStamp": {
12599 "type": "string",
12600 "description": "Module created or modified."
12601 },
12602 "addressRange": {
12603 "type": "string",
12604 "description": "Address range covered by this module."
12605 }
12606 }
12607 __refs__ = set()
12608
12609 __slots__ = list(__props__.keys()) + ['kwargs']
12610
12611 def __init__(self, id, name, path=None, isOptimized=None, isUserCode=None, version=None, symbolStatus=None, symbolFilePath=None, dateTimeStamp=None, addressRange=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
12612 """
12613 :param ['integer', 'string'] id: Unique identifier for the module.
12614 :param string name: A name of the module.
12615 :param string path: optional but recommended attributes.
12616 always try to use these first before introducing additional attributes.
-
W293
Blank line contains whitespace
12617
-
E501
Line too long (162 > 79 characters)
12618 Logical full path to the module. The exact definition is implementation defined, but usually this would be a full path to the on-disk file for the module.
12619 :param boolean isOptimized: True if the module is optimized.
-
E501
Line too long (123 > 79 characters)
12620 :param boolean isUserCode: True if the module is considered 'user code' by a debugger that supports 'Just My Code'.
12621 :param string version: Version of Module.
-
E501
Line too long (156 > 79 characters)
12622 :param string symbolStatus: User understandable description of if symbols were found for the module (ex: 'Symbols Loaded', 'Symbols not found', etc.
-
E501
Line too long (123 > 79 characters)
12623 :param string symbolFilePath: Logical full path to the symbol file. The exact definition is implementation defined.
12624 :param string dateTimeStamp: Module created or modified.
12625 :param string addressRange: Address range covered by this module.
12626 """
12627 self.id = id
12628 self.name = name
12629 self.path = path
12630 self.isOptimized = isOptimized
12631 self.isUserCode = isUserCode
12632 self.version = version
12633 self.symbolStatus = symbolStatus
12634 self.symbolFilePath = symbolFilePath
12635 self.dateTimeStamp = dateTimeStamp
12636 self.addressRange = addressRange
12637 self.kwargs = kwargs
12638
12639
12640 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
12641 id = self.id # noqa (assign to builtin)
12642 name = self.name
12643 path = self.path
12644 isOptimized = self.isOptimized
12645 isUserCode = self.isUserCode
12646 version = self.version
12647 symbolStatus = self.symbolStatus
12648 symbolFilePath = self.symbolFilePath
12649 dateTimeStamp = self.dateTimeStamp
12650 addressRange = self.addressRange
12651 dct = {
12652 'id': id,
12653 'name': name,
12654 }
12655 if path is not None:
12656 dct['path'] = path
12657 if isOptimized is not None:
12658 dct['isOptimized'] = isOptimized
12659 if isUserCode is not None:
12660 dct['isUserCode'] = isUserCode
12661 if version is not None:
12662 dct['version'] = version
12663 if symbolStatus is not None:
12664 dct['symbolStatus'] = symbolStatus
12665 if symbolFilePath is not None:
12666 dct['symbolFilePath'] = symbolFilePath
12667 if dateTimeStamp is not None:
12668 dct['dateTimeStamp'] = dateTimeStamp
12669 if addressRange is not None:
12670 dct['addressRange'] = addressRange
12671 dct.update(self.kwargs)
12672 return dct
12673
12674
12675 @register
12676 class ColumnDescriptor(BaseSchema):
12677 """
-
E501
Line too long (101 > 79 characters)
12678 A ColumnDescriptor specifies what module attribute to show in a column of the ModulesView, how to
12679 format it,
-
W293
Blank line contains whitespace
12680
12681 and what the column's label should be.
-
W293
Blank line contains whitespace
12682
-
E501
Line too long (87 > 79 characters)
12683 It is only used if the underlying UI actually supports this level of customization.
12684
12685 Note: automatically generated code. Do not edit manually.
12686 """
12687
12688 __props__ = {
12689 "attributeName": {
12690 "type": "string",
12691 "description": "Name of the attribute rendered in this column."
12692 },
12693 "label": {
12694 "type": "string",
12695 "description": "Header UI label of column."
12696 },
12697 "format": {
12698 "type": "string",
-
E501
Line too long (121 > 79 characters)
12699 "description": "Format to use for the rendered values in this column. TBD how the format strings looks like."
12700 },
12701 "type": {
12702 "type": "string",
12703 "enum": [
12704 "string",
12705 "number",
12706 "boolean",
12707 "unixTimestampUTC"
12708 ],
-
E501
Line too long (103 > 79 characters)
12709 "description": "Datatype of values in this column. Defaults to 'string' if not specified."
12710 },
12711 "width": {
12712 "type": "integer",
12713 "description": "Width of this column in characters (hint only)."
12714 }
12715 }
12716 __refs__ = set()
12717
12718 __slots__ = list(__props__.keys()) + ['kwargs']
12719
12720 def __init__(self, attributeName, label, format=None, type=None, width=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
12721 """
-
E501
Line too long (83 > 79 characters)
12722 :param string attributeName: Name of the attribute rendered in this column.
12723 :param string label: Header UI label of column.
-
E501
Line too long (122 > 79 characters)
12724 :param string format: Format to use for the rendered values in this column. TBD how the format strings looks like.
-
E501
Line too long (102 > 79 characters)
12725 :param string type: Datatype of values in this column. Defaults to 'string' if not specified.
12726 :param integer width: Width of this column in characters (hint only).
12727 """
12728 self.attributeName = attributeName
12729 self.label = label
12730 self.format = format
12731 self.type = type
12732 self.width = width
12733 self.kwargs = kwargs
12734
12735
12736 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
12737 attributeName = self.attributeName
12738 label = self.label
12739 format = self.format # noqa (assign to builtin)
12740 type = self.type # noqa (assign to builtin)
12741 width = self.width
12742 dct = {
12743 'attributeName': attributeName,
12744 'label': label,
12745 }
12746 if format is not None:
12747 dct['format'] = format
12748 if type is not None:
12749 dct['type'] = type
12750 if width is not None:
12751 dct['width'] = width
12752 dct.update(self.kwargs)
12753 return dct
12754
12755
12756 @register
12757 class ModulesViewDescriptor(BaseSchema):
12758 """
-
E501
Line too long (93 > 79 characters)
12759 The ModulesViewDescriptor is the container for all declarative configuration options of a
12760 ModuleView.
-
W293
Blank line contains whitespace
12761
12762 For now it only specifies the columns to be shown in the modules view.
12763
12764 Note: automatically generated code. Do not edit manually.
12765 """
12766
12767 __props__ = {
12768 "columns": {
12769 "type": "array",
12770 "items": {
12771 "$ref": "#/definitions/ColumnDescriptor"
12772 }
12773 }
12774 }
12775 __refs__ = set()
12776
12777 __slots__ = list(__props__.keys()) + ['kwargs']
12778
12779 def __init__(self, columns, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
12780 """
12781 :param array columns:
12782 """
12783 self.columns = columns
12784 if update_ids_from_dap and self.columns:
12785 for o in self.columns:
12786 ColumnDescriptor.update_dict_ids_from_dap(o)
12787 self.kwargs = kwargs
12788
12789
12790 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
12791 columns = self.columns
12792 if columns and hasattr(columns[0], "to_dict"):
12793 columns = [x.to_dict() for x in columns]
12794 dct = {
-
E501
Line too long (133 > 79 characters)
12795 'columns': [ColumnDescriptor.update_dict_ids_to_dap(o) for o in columns] if (update_ids_to_dap and columns) else columns,
12796 }
12797 dct.update(self.kwargs)
12798 return dct
12799
12800
12801 @register
12802 class Thread(BaseSchema):
12803 """
12804 A Thread
12805
12806 Note: automatically generated code. Do not edit manually.
12807 """
12808
12809 __props__ = {
12810 "id": {
12811 "type": "integer",
12812 "description": "Unique identifier for the thread."
12813 },
12814 "name": {
12815 "type": "string",
12816 "description": "A name of the thread."
12817 }
12818 }
12819 __refs__ = set()
12820
12821 __slots__ = list(__props__.keys()) + ['kwargs']
12822
12823 def __init__(self, id, name, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
12824 """
12825 :param integer id: Unique identifier for the thread.
12826 :param string name: A name of the thread.
12827 """
12828 self.id = id
12829 self.name = name
12830 if update_ids_from_dap:
12831 self.id = self._translate_id_from_dap(self.id)
12832 self.kwargs = kwargs
-
W293
Blank line contains whitespace
12833
-
W293
Blank line contains whitespace
12834
-
E303
Too many blank lines (2)
12835 @classmethod
12836 def update_dict_ids_from_dap(cls, dct):
12837 if 'id' in dct:
12838 dct['id'] = cls._translate_id_from_dap(dct['id'])
12839 return dct
12840
12841 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
12842 id = self.id # noqa (assign to builtin)
12843 name = self.name
12844 if update_ids_to_dap:
12845 if id is not None:
12846 id = self._translate_id_to_dap(id) # noqa (assign to builtin)
12847 dct = {
12848 'id': id,
12849 'name': name,
12850 }
12851 dct.update(self.kwargs)
-
W293
Blank line contains whitespace
12853
12854 @classmethod
12855 def update_dict_ids_to_dap(cls, dct):
12856 if 'id' in dct:
12857 dct['id'] = cls._translate_id_to_dap(dct['id'])
12858 return dct
12859
12860
12861 @register
12862 class Source(BaseSchema):
12863 """
12864 A Source is a descriptor for source code.
-
W293
Blank line contains whitespace
12865
-
E501
Line too long (96 > 79 characters)
12866 It is returned from the debug adapter as part of a StackFrame and it is used by clients when
12867 specifying breakpoints.
12868
12869 Note: automatically generated code. Do not edit manually.
12870 """
12871
12872 __props__ = {
12873 "name": {
12874 "type": "string",
-
E501
Line too long (182 > 79 characters)
12875 "description": "The short name of the source. Every source returned from the debug adapter has a name.\nWhen sending a source to the debug adapter this name is optional."
12876 },
12877 "path": {
12878 "type": "string",
-
E501
Line too long (192 > 79 characters)
12879 "description": "The path of the source to be shown in the UI.\nIt is only used to locate and load the content of the source if no sourceReference is specified (or its value is 0)."
12880 },
12881 "sourceReference": {
12882 "type": "integer",
-
E501
Line too long (309 > 79 characters)
12883 "description": "If sourceReference > 0 the contents of the source must be retrieved through the SourceRequest (even if a path is specified).\nA sourceReference is only valid for a session, so it must not be used to persist a source.\nThe value should be less than or equal to 2147483647 (2^31-1)."
12884 },
12885 "presentationHint": {
12886 "type": "string",
-
E501
Line too long (205 > 79 characters)
12887 "description": "An optional hint for how to present the source in the UI.\nA value of 'deemphasize' can be used to indicate that the source is not available or that it is skipped on stepping.",
12888 "enum": [
12889 "normal",
12890 "emphasize",
12891 "deemphasize"
12892 ]
12893 },
12894 "origin": {
12895 "type": "string",
-
E501
Line too long (141 > 79 characters)
12896 "description": "The (optional) origin of this source: possible values 'internal module', 'inlined content from source map', etc."
12897 },
12898 "sources": {
12899 "type": "array",
12900 "items": {
12901 "$ref": "#/definitions/Source"
12902 },
-
E501
Line too long (141 > 79 characters)
12903 "description": "An optional list of sources that are related to this source. These may be the source that generated this source."
12904 },
12905 "adapterData": {
12906 "type": [
12907 "array",
12908 "boolean",
12909 "integer",
12910 "null",
12911 "number",
12912 "object",
12913 "string"
12914 ],
-
E501
Line too long (217 > 79 characters)
12915 "description": "Optional data that a debug adapter might want to loop through the client.\nThe client should leave the data intact and persist it across sessions. The client should not interpret the data."
12916 },
12917 "checksums": {
12918 "type": "array",
12919 "items": {
12920 "$ref": "#/definitions/Checksum"
12921 },
12922 "description": "The checksums associated with this file."
12923 }
12924 }
12925 __refs__ = set()
12926
12927 __slots__ = list(__props__.keys()) + ['kwargs']
12928
12929 def __init__(self, name=None, path=None, sourceReference=None, presentationHint=None, origin=None, sources=None, adapterData=None, checksums=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
12930 """
-
E501
Line too long (114 > 79 characters)
12931 :param string name: The short name of the source. Every source returned from the debug adapter has a name.
12932 When sending a source to the debug adapter this name is optional.
12933 :param string path: The path of the source to be shown in the UI.
-
E501
Line too long (124 > 79 characters)
12934 It is only used to locate and load the content of the source if no sourceReference is specified (or its value is 0).
-
E501
Line too long (164 > 79 characters)
12935 :param integer sourceReference: If sourceReference > 0 the contents of the source must be retrieved through the SourceRequest (even if a path is specified).
-
E501
Line too long (98 > 79 characters)
12936 A sourceReference is only valid for a session, so it must not be used to persist a source.
12937 The value should be less than or equal to 2147483647 (2^31-1).
-
E501
Line too long (97 > 79 characters)
12938 :param string presentationHint: An optional hint for how to present the source in the UI.
-
E501
Line too long (124 > 79 characters)
12939 A value of 'deemphasize' can be used to indicate that the source is not available or that it is skipped on stepping.
-
E501
Line too long (142 > 79 characters)
12940 :param string origin: The (optional) origin of this source: possible values 'internal module', 'inlined content from source map', etc.
-
E501
Line too long (142 > 79 characters)
12941 :param array sources: An optional list of sources that are related to this source. These may be the source that generated this source.
-
E501
Line too long (171 > 79 characters)
12942 :param ['array', 'boolean', 'integer', 'null', 'number', 'object', 'string'] adapterData: Optional data that a debug adapter might want to loop through the client.
-
E501
Line too long (121 > 79 characters)
12943 The client should leave the data intact and persist it across sessions. The client should not interpret the data.
12944 :param array checksums: The checksums associated with this file.
12945 """
12946 self.name = name
12947 self.path = path
12948 self.sourceReference = sourceReference
12949 self.presentationHint = presentationHint
12950 self.origin = origin
12951 self.sources = sources
12952 if update_ids_from_dap and self.sources:
12953 for o in self.sources:
12954 Source.update_dict_ids_from_dap(o)
12955 self.adapterData = adapterData
12956 self.checksums = checksums
12957 if update_ids_from_dap and self.checksums:
12958 for o in self.checksums:
12959 Checksum.update_dict_ids_from_dap(o)
12960 self.kwargs = kwargs
12961
12962
12963 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
12964 name = self.name
12965 path = self.path
12966 sourceReference = self.sourceReference
12967 presentationHint = self.presentationHint
12968 origin = self.origin
12969 sources = self.sources
12970 if sources and hasattr(sources[0], "to_dict"):
12971 sources = [x.to_dict() for x in sources]
12972 adapterData = self.adapterData
12973 checksums = self.checksums
12974 if checksums and hasattr(checksums[0], "to_dict"):
12975 checksums = [x.to_dict() for x in checksums]
12976 dct = {
12977 }
12978 if name is not None:
12979 dct['name'] = name
12980 if path is not None:
12981 dct['path'] = path
12982 if sourceReference is not None:
12983 dct['sourceReference'] = sourceReference
12984 if presentationHint is not None:
12985 dct['presentationHint'] = presentationHint
12986 if origin is not None:
12987 dct['origin'] = origin
12988 if sources is not None:
-
E501
Line too long (128 > 79 characters)
12989 dct['sources'] = [Source.update_dict_ids_to_dap(o) for o in sources] if (update_ids_to_dap and sources) else sources
12990 if adapterData is not None:
12991 dct['adapterData'] = adapterData
12992 if checksums is not None:
-
E501
Line too long (138 > 79 characters)
12993 dct['checksums'] = [Checksum.update_dict_ids_to_dap(o) for o in checksums] if (update_ids_to_dap and checksums) else checksums
12994 dct.update(self.kwargs)
12995 return dct
12996
12997
12998 @register
12999 class StackFrame(BaseSchema):
13000 """
13001 A Stackframe contains the source location.
13002
13003 Note: automatically generated code. Do not edit manually.
13004 """
13005
13006 __props__ = {
13007 "id": {
13008 "type": "integer",
-
E501
Line too long (228 > 79 characters)
13009 "description": "An identifier for the stack frame. It must be unique across all threads.\nThis id can be used to retrieve the scopes of the frame with the 'scopesRequest' or to restart the execution of a stackframe."
13010 },
13011 "name": {
13012 "type": "string",
-
E501
Line too long (82 > 79 characters)
13013 "description": "The name of the stack frame, typically a method name."
13014 },
13015 "source": {
13016 "description": "The optional source of the frame.",
13017 "type": "Source"
13018 },
13019 "line": {
13020 "type": "integer",
-
E501
Line too long (134 > 79 characters)
13021 "description": "The line within the file of the frame. If source is null or doesn't exist, line is 0 and must be ignored."
13022 },
13023 "column": {
13024 "type": "integer",
-
E501
Line too long (125 > 79 characters)
13025 "description": "The column within the line. If source is null or doesn't exist, column is 0 and must be ignored."
13026 },
13027 "endLine": {
13028 "type": "integer",
-
E501
Line too long (90 > 79 characters)
13029 "description": "An optional end line of the range covered by the stack frame."
13030 },
13031 "endColumn": {
13032 "type": "integer",
-
E501
Line too long (92 > 79 characters)
13033 "description": "An optional end column of the range covered by the stack frame."
13034 },
13035 "instructionPointerReference": {
13036 "type": "string",
-
E501
Line too long (105 > 79 characters)
13037 "description": "Optional memory reference for the current instruction pointer in this frame."
13038 },
13039 "moduleId": {
13040 "type": [
13041 "integer",
13042 "string"
13043 ],
13044 "description": "The module associated with this frame, if any."
13045 },
13046 "presentationHint": {
13047 "type": "string",
13048 "enum": [
13049 "normal",
13050 "label",
13051 "subtle"
13052 ],
-
E501
Line too long (300 > 79 characters)
13053 "description": "An optional hint for how to present this frame in the UI.\nA value of 'label' can be used to indicate that the frame is an artificial frame that is used as a visual label or separator. A value of 'subtle' can be used to change the appearance of a frame in a 'subtle' way."
13054 }
13055 }
13056 __refs__ = set(['source'])
13057
13058 __slots__ = list(__props__.keys()) + ['kwargs']
13059
13060 def __init__(self, id, name, line, column, source=None, endLine=None, endColumn=None, instructionPointerReference=None, moduleId=None, presentationHint=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
13061 """
-
E501
Line too long (99 > 79 characters)
13062 :param integer id: An identifier for the stack frame. It must be unique across all threads.
-
E501
Line too long (133 > 79 characters)
13063 This id can be used to retrieve the scopes of the frame with the 'scopesRequest' or to restart the execution of a stackframe.
-
E501
Line too long (81 > 79 characters)
13064 :param string name: The name of the stack frame, typically a method name.
-
E501
Line too long (134 > 79 characters)
13065 :param integer line: The line within the file of the frame. If source is null or doesn't exist, line is 0 and must be ignored.
-
E501
Line too long (127 > 79 characters)
13066 :param integer column: The column within the line. If source is null or doesn't exist, column is 0 and must be ignored.
13067 :param Source source: The optional source of the frame.
-
E501
Line too long (93 > 79 characters)
13068 :param integer endLine: An optional end line of the range covered by the stack frame.
-
E501
Line too long (97 > 79 characters)
13069 :param integer endColumn: An optional end column of the range covered by the stack frame.
-
E501
Line too long (127 > 79 characters)
13070 :param string instructionPointerReference: Optional memory reference for the current instruction pointer in this frame.
-
E501
Line too long (93 > 79 characters)
13071 :param ['integer', 'string'] moduleId: The module associated with this frame, if any.
-
E501
Line too long (97 > 79 characters)
13072 :param string presentationHint: An optional hint for how to present this frame in the UI.
-
E501
Line too long (220 > 79 characters)
13073 A value of 'label' can be used to indicate that the frame is an artificial frame that is used as a visual label or separator. A value of 'subtle' can be used to change the appearance of a frame in a 'subtle' way.
13074 """
13075 self.id = id
13076 self.name = name
13077 self.line = line
13078 self.column = column
13079 if source is None:
13080 self.source = Source()
13081 else:
-
E501
Line too long (126 > 79 characters)
-
E222
Multiple spaces after operator
13082 self.source = Source(update_ids_from_dap=update_ids_from_dap, **source) if source.__class__ != Source else source
13083 self.endLine = endLine
13084 self.endColumn = endColumn
13085 self.instructionPointerReference = instructionPointerReference
13086 self.moduleId = moduleId
13087 self.presentationHint = presentationHint
13088 if update_ids_from_dap:
13089 self.id = self._translate_id_from_dap(self.id)
13090 self.kwargs = kwargs
-
W293
Blank line contains whitespace
13091
-
W293
Blank line contains whitespace
13092
-
E303
Too many blank lines (2)
13093 @classmethod
13094 def update_dict_ids_from_dap(cls, dct):
13095 if 'id' in dct:
13096 dct['id'] = cls._translate_id_from_dap(dct['id'])
13097 return dct
13098
13099 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
13100 id = self.id # noqa (assign to builtin)
13101 name = self.name
13102 line = self.line
13103 column = self.column
13104 source = self.source
13105 endLine = self.endLine
13106 endColumn = self.endColumn
13107 instructionPointerReference = self.instructionPointerReference
13108 moduleId = self.moduleId
13109 presentationHint = self.presentationHint
13110 if update_ids_to_dap:
13111 if id is not None:
13112 id = self._translate_id_to_dap(id) # noqa (assign to builtin)
13113 dct = {
13114 'id': id,
13115 'name': name,
13116 'line': line,
13117 'column': column,
13118 }
13119 if source is not None:
13120 dct['source'] = source.to_dict(update_ids_to_dap=update_ids_to_dap)
13121 if endLine is not None:
13122 dct['endLine'] = endLine
13123 if endColumn is not None:
13124 dct['endColumn'] = endColumn
13125 if instructionPointerReference is not None:
13126 dct['instructionPointerReference'] = instructionPointerReference
13127 if moduleId is not None:
13128 dct['moduleId'] = moduleId
13129 if presentationHint is not None:
13130 dct['presentationHint'] = presentationHint
13131 dct.update(self.kwargs)
-
W293
Blank line contains whitespace
13133
13134 @classmethod
13135 def update_dict_ids_to_dap(cls, dct):
13136 if 'id' in dct:
13137 dct['id'] = cls._translate_id_to_dap(dct['id'])
13138 return dct
13139
13140
13141 @register
13142 class Scope(BaseSchema):
13143 """
-
E501
Line too long (104 > 79 characters)
13144 A Scope is a named container for variables. Optionally a scope can map to a source or a range within
13145 a source.
13146
13147 Note: automatically generated code. Do not edit manually.
13148 """
13149
13150 __props__ = {
13151 "name": {
13152 "type": "string",
-
E501
Line too long (153 > 79 characters)
13153 "description": "Name of the scope such as 'Arguments', 'Locals', or 'Registers'. This string is shown in the UI as is and can be translated."
13154 },
13155 "presentationHint": {
13156 "type": "string",
-
E501
Line too long (155 > 79 characters)
13157 "description": "An optional hint for how to present this scope in the UI. If this attribute is missing, the scope is shown with a generic UI.",
13158 "_enum": [
13159 "arguments",
13160 "locals",
13161 "registers"
13162 ],
13163 "enumDescriptions": [
13164 "Scope contains method arguments.",
13165 "Scope contains local variables.",
-
E501
Line too long (119 > 79 characters)
13166 "Scope contains registers. Only a single 'registers' scope should be returned from a 'scopes' request."
13167 ]
13168 },
13169 "variablesReference": {
13170 "type": "integer",
-
E501
Line too long (141 > 79 characters)
13171 "description": "The variables of this scope can be retrieved by passing the value of variablesReference to the VariablesRequest."
13172 },
13173 "namedVariables": {
13174 "type": "integer",
-
E501
Line too long (184 > 79 characters)
13175 "description": "The number of named variables in this scope.\nThe client can use this optional information to present the variables in a paged UI and fetch them in chunks."
13176 },
13177 "indexedVariables": {
13178 "type": "integer",
-
E501
Line too long (186 > 79 characters)
13179 "description": "The number of indexed variables in this scope.\nThe client can use this optional information to present the variables in a paged UI and fetch them in chunks."
13180 },
13181 "expensive": {
13182 "type": "boolean",
-
E501
Line too long (110 > 79 characters)
13183 "description": "If true, the number of variables in this scope is large or expensive to retrieve."
13184 },
13185 "source": {
13186 "description": "Optional source for this scope.",
13187 "type": "Source"
13188 },
13189 "line": {
13190 "type": "integer",
-
E501
Line too long (84 > 79 characters)
13191 "description": "Optional start line of the range covered by this scope."
13192 },
13193 "column": {
13194 "type": "integer",
-
E501
Line too long (86 > 79 characters)
13195 "description": "Optional start column of the range covered by this scope."
13196 },
13197 "endLine": {
13198 "type": "integer",
-
E501
Line too long (82 > 79 characters)
13199 "description": "Optional end line of the range covered by this scope."
13200 },
13201 "endColumn": {
13202 "type": "integer",
-
E501
Line too long (84 > 79 characters)
13203 "description": "Optional end column of the range covered by this scope."
13204 }
13205 }
13206 __refs__ = set(['source'])
13207
13208 __slots__ = list(__props__.keys()) + ['kwargs']
13209
13210 def __init__(self, name, variablesReference, expensive, presentationHint=None, namedVariables=None, indexedVariables=None, source=None, line=None, column=None, endLine=None, endColumn=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
13211 """
-
E501
Line too long (152 > 79 characters)
13212 :param string name: Name of the scope such as 'Arguments', 'Locals', or 'Registers'. This string is shown in the UI as is and can be translated.
-
E501
Line too long (155 > 79 characters)
13213 :param integer variablesReference: The variables of this scope can be retrieved by passing the value of variablesReference to the VariablesRequest.
-
E501
Line too long (115 > 79 characters)
13214 :param boolean expensive: If true, the number of variables in this scope is large or expensive to retrieve.
-
E501
Line too long (165 > 79 characters)
13215 :param string presentationHint: An optional hint for how to present this scope in the UI. If this attribute is missing, the scope is shown with a generic UI.
-
E501
Line too long (83 > 79 characters)
13216 :param integer namedVariables: The number of named variables in this scope.
-
E501
Line too long (117 > 79 characters)
13217 The client can use this optional information to present the variables in a paged UI and fetch them in chunks.
-
E501
Line too long (87 > 79 characters)
13218 :param integer indexedVariables: The number of indexed variables in this scope.
-
E501
Line too long (117 > 79 characters)
13219 The client can use this optional information to present the variables in a paged UI and fetch them in chunks.
13220 :param Source source: Optional source for this scope.
-
E501
Line too long (84 > 79 characters)
13221 :param integer line: Optional start line of the range covered by this scope.
-
E501
Line too long (88 > 79 characters)
13222 :param integer column: Optional start column of the range covered by this scope.
-
E501
Line too long (85 > 79 characters)
13223 :param integer endLine: Optional end line of the range covered by this scope.
-
E501
Line too long (89 > 79 characters)
13224 :param integer endColumn: Optional end column of the range covered by this scope.
13225 """
13226 self.name = name
13227 self.variablesReference = variablesReference
13228 self.expensive = expensive
13229 self.presentationHint = presentationHint
13230 self.namedVariables = namedVariables
13231 self.indexedVariables = indexedVariables
13232 if source is None:
13233 self.source = Source()
13234 else:
-
E501
Line too long (126 > 79 characters)
-
E222
Multiple spaces after operator
13235 self.source = Source(update_ids_from_dap=update_ids_from_dap, **source) if source.__class__ != Source else source
13236 self.line = line
13237 self.column = column
13238 self.endLine = endLine
13239 self.endColumn = endColumn
13240 if update_ids_from_dap:
-
E501
Line too long (90 > 79 characters)
13241 self.variablesReference = self._translate_id_from_dap(self.variablesReference)
13242 self.kwargs = kwargs
-
W293
Blank line contains whitespace
13243
-
W293
Blank line contains whitespace
13244
-
E303
Too many blank lines (2)
13245 @classmethod
13246 def update_dict_ids_from_dap(cls, dct):
13247 if 'variablesReference' in dct:
-
E501
Line too long (93 > 79 characters)
13248 dct['variablesReference'] = cls._translate_id_from_dap(dct['variablesReference'])
13249 return dct
13250
13251 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
13252 name = self.name
13253 variablesReference = self.variablesReference
13254 expensive = self.expensive
13255 presentationHint = self.presentationHint
13256 namedVariables = self.namedVariables
13257 indexedVariables = self.indexedVariables
13258 source = self.source
13259 line = self.line
13260 column = self.column
13261 endLine = self.endLine
13262 endColumn = self.endColumn
13263 if update_ids_to_dap:
13264 if variablesReference is not None:
-
E501
Line too long (82 > 79 characters)
13265 variablesReference = self._translate_id_to_dap(variablesReference)
13266 dct = {
13267 'name': name,
13268 'variablesReference': variablesReference,
13269 'expensive': expensive,
13270 }
13271 if presentationHint is not None:
13272 dct['presentationHint'] = presentationHint
13273 if namedVariables is not None:
13274 dct['namedVariables'] = namedVariables
13275 if indexedVariables is not None:
13276 dct['indexedVariables'] = indexedVariables
13277 if source is not None:
13278 dct['source'] = source.to_dict(update_ids_to_dap=update_ids_to_dap)
13279 if line is not None:
13280 dct['line'] = line
13281 if column is not None:
13282 dct['column'] = column
13283 if endLine is not None:
13284 dct['endLine'] = endLine
13285 if endColumn is not None:
13286 dct['endColumn'] = endColumn
13287 dct.update(self.kwargs)
-
W293
Blank line contains whitespace
13289
13290 @classmethod
13291 def update_dict_ids_to_dap(cls, dct):
13292 if 'variablesReference' in dct:
-
E501
Line too long (91 > 79 characters)
13293 dct['variablesReference'] = cls._translate_id_to_dap(dct['variablesReference'])
13294 return dct
13295
13296
13297 @register
13298 class Variable(BaseSchema):
13299 """
13300 A Variable is a name/value pair.
-
W293
Blank line contains whitespace
13301
-
E501
Line too long (100 > 79 characters)
13302 Optionally a variable can have a 'type' that is shown if space permits or when hovering over the
13303 variable's name.
-
W293
Blank line contains whitespace
13304
-
E501
Line too long (104 > 79 characters)
13305 An optional 'kind' is used to render additional properties of the variable, e.g. different icons can
13306 be used to indicate that a variable is public or private.
-
W293
Blank line contains whitespace
13307
-
E501
Line too long (101 > 79 characters)
13308 If the value is structured (has children), a handle is provided to retrieve the children with the
13309 VariablesRequest.
-
W293
Blank line contains whitespace
13310
-
E501
Line too long (104 > 79 characters)
13311 If the number of named or indexed children is large, the numbers should be returned via the optional
13312 'namedVariables' and 'indexedVariables' attributes.
-
W293
Blank line contains whitespace
13313
-
E501
Line too long (104 > 79 characters)
13314 The client can use this optional information to present the children in a paged UI and fetch them in
13315 chunks.
13316
13317 Note: automatically generated code. Do not edit manually.
13318 """
13319
13320 __props__ = {
13321 "name": {
13322 "type": "string",
13323 "description": "The variable's name."
13324 },
13325 "value": {
13326 "type": "string",
-
E501
Line too long (125 > 79 characters)
13327 "description": "The variable's value. This can be a multi-line text, e.g. for a function the body of a function."
13328 },
13329 "type": {
13330 "type": "string",
-
E501
Line too long (288 > 79 characters)
13331 "description": "The type of the variable's value. Typically shown in the UI when hovering over the value.\nThis attribute should only be returned by a debug adapter if the client has passed the value true for the 'supportsVariableType' capability of the 'initialize' request."
13332 },
13333 "presentationHint": {
-
E501
Line too long (122 > 79 characters)
13334 "description": "Properties of a variable that can be used to determine how to render the variable in the UI.",
13335 "type": "VariablePresentationHint"
13336 },
13337 "evaluateName": {
13338 "type": "string",
-
E501
Line too long (147 > 79 characters)
13339 "description": "Optional evaluatable name of this variable which can be passed to the 'EvaluateRequest' to fetch the variable's value."
13340 },
13341 "variablesReference": {
13342 "type": "integer",
-
E501
Line too long (174 > 79 characters)
13343 "description": "If variablesReference is > 0, the variable is structured and its children can be retrieved by passing variablesReference to the VariablesRequest."
13344 },
13345 "namedVariables": {
13346 "type": "integer",
-
E501
Line too long (175 > 79 characters)
13347 "description": "The number of named child variables.\nThe client can use this optional information to present the children in a paged UI and fetch them in chunks."
13348 },
13349 "indexedVariables": {
13350 "type": "integer",
-
E501
Line too long (177 > 79 characters)
13351 "description": "The number of indexed child variables.\nThe client can use this optional information to present the children in a paged UI and fetch them in chunks."
13352 },
13353 "memoryReference": {
13354 "type": "string",
-
E501
Line too long (291 > 79 characters)
13355 "description": "Optional memory reference for the variable if the variable represents executable code, such as a function pointer.\nThis attribute is only required if the client has passed the value true for the 'supportsMemoryReferences' capability of the 'initialize' request."
13356 }
13357 }
13358 __refs__ = set(['presentationHint'])
13359
13360 __slots__ = list(__props__.keys()) + ['kwargs']
13361
13362 def __init__(self, name, value, variablesReference, type=None, presentationHint=None, evaluateName=None, namedVariables=None, indexedVariables=None, memoryReference=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
13363 """
13364 :param string name: The variable's name.
-
E501
Line too long (125 > 79 characters)
13365 :param string value: The variable's value. This can be a multi-line text, e.g. for a function the body of a function.
-
E501
Line too long (188 > 79 characters)
13366 :param integer variablesReference: If variablesReference is > 0, the variable is structured and its children can be retrieved by passing variablesReference to the VariablesRequest.
-
E501
Line too long (117 > 79 characters)
13367 :param string type: The type of the variable's value. Typically shown in the UI when hovering over the value.
-
E501
Line too long (176 > 79 characters)
13368 This attribute should only be returned by a debug adapter if the client has passed the value true for the 'supportsVariableType' capability of the 'initialize' request.
-
E501
Line too long (150 > 79 characters)
13369 :param VariablePresentationHint presentationHint: Properties of a variable that can be used to determine how to render the variable in the UI.
-
E501
Line too long (154 > 79 characters)
13370 :param string evaluateName: Optional evaluatable name of this variable which can be passed to the 'EvaluateRequest' to fetch the variable's value.
13371 :param integer namedVariables: The number of named child variables.
-
E501
Line too long (116 > 79 characters)
13372 The client can use this optional information to present the children in a paged UI and fetch them in chunks.
13373 :param integer indexedVariables: The number of indexed child variables.
-
E501
Line too long (116 > 79 characters)
13374 The client can use this optional information to present the children in a paged UI and fetch them in chunks.
-
E501
Line too long (153 > 79 characters)
13375 :param string memoryReference: Optional memory reference for the variable if the variable represents executable code, such as a function pointer.
-
E501
Line too long (154 > 79 characters)
13376 This attribute is only required if the client has passed the value true for the 'supportsMemoryReferences' capability of the 'initialize' request.
13377 """
13378 self.name = name
13379 self.value = value
13380 self.variablesReference = variablesReference
13381 self.type = type
13382 if presentationHint is None:
13383 self.presentationHint = VariablePresentationHint()
13384 else:
-
E501
Line too long (202 > 79 characters)
-
E222
Multiple spaces after operator
13385 self.presentationHint = VariablePresentationHint(update_ids_from_dap=update_ids_from_dap, **presentationHint) if presentationHint.__class__ != VariablePresentationHint else presentationHint
13386 self.evaluateName = evaluateName
13387 self.namedVariables = namedVariables
13388 self.indexedVariables = indexedVariables
13389 self.memoryReference = memoryReference
13390 if update_ids_from_dap:
-
E501
Line too long (90 > 79 characters)
13391 self.variablesReference = self._translate_id_from_dap(self.variablesReference)
13392 self.kwargs = kwargs
-
W293
Blank line contains whitespace
13393
-
W293
Blank line contains whitespace
13394
-
E303
Too many blank lines (2)
13395 @classmethod
13396 def update_dict_ids_from_dap(cls, dct):
13397 if 'variablesReference' in dct:
-
E501
Line too long (93 > 79 characters)
13398 dct['variablesReference'] = cls._translate_id_from_dap(dct['variablesReference'])
13399 return dct
13400
13401 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
13402 name = self.name
13403 value = self.value
13404 variablesReference = self.variablesReference
13405 type = self.type # noqa (assign to builtin)
13406 presentationHint = self.presentationHint
13407 evaluateName = self.evaluateName
13408 namedVariables = self.namedVariables
13409 indexedVariables = self.indexedVariables
13410 memoryReference = self.memoryReference
13411 if update_ids_to_dap:
13412 if variablesReference is not None:
-
E501
Line too long (82 > 79 characters)
13413 variablesReference = self._translate_id_to_dap(variablesReference)
13414 dct = {
13415 'name': name,
13416 'value': value,
13417 'variablesReference': variablesReference,
13418 }
13419 if type is not None:
13420 dct['type'] = type
13421 if presentationHint is not None:
-
E501
Line too long (99 > 79 characters)
13422 dct['presentationHint'] = presentationHint.to_dict(update_ids_to_dap=update_ids_to_dap)
13423 if evaluateName is not None:
13424 dct['evaluateName'] = evaluateName
13425 if namedVariables is not None:
13426 dct['namedVariables'] = namedVariables
13427 if indexedVariables is not None:
13428 dct['indexedVariables'] = indexedVariables
13429 if memoryReference is not None:
13430 dct['memoryReference'] = memoryReference
13431 dct.update(self.kwargs)
-
W293
Blank line contains whitespace
13433
13434 @classmethod
13435 def update_dict_ids_to_dap(cls, dct):
13436 if 'variablesReference' in dct:
-
E501
Line too long (91 > 79 characters)
13437 dct['variablesReference'] = cls._translate_id_to_dap(dct['variablesReference'])
13438 return dct
13439
13440
13441 @register
13442 class VariablePresentationHint(BaseSchema):
13443 """
-
E501
Line too long (101 > 79 characters)
13444 Optional properties of a variable that can be used to determine how to render the variable in the
13445 UI.
13446
13447 Note: automatically generated code. Do not edit manually.
13448 """
13449
13450 __props__ = {
13451 "kind": {
-
E501
Line too long (119 > 79 characters)
13452 "description": "The kind of variable. Before introducing additional values, try to use the listed values.",
13453 "type": "string",
13454 "_enum": [
13455 "property",
13456 "method",
13457 "class",
13458 "data",
13459 "event",
13460 "baseClass",
13461 "innerClass",
13462 "interface",
13463 "mostDerivedClass",
13464 "virtual",
13465 "dataBreakpoint"
13466 ],
13467 "enumDescriptions": [
13468 "Indicates that the object is a property.",
13469 "Indicates that the object is a method.",
13470 "Indicates that the object is a class.",
13471 "Indicates that the object is data.",
13472 "Indicates that the object is an event.",
13473 "Indicates that the object is a base class.",
13474 "Indicates that the object is an inner class.",
13475 "Indicates that the object is an interface.",
13476 "Indicates that the object is the most derived class.",
-
E501
Line too long (180 > 79 characters)
13477 "Indicates that the object is virtual, that means it is a synthetic object introducedby the\nadapter for rendering purposes, e.g. an index range for large arrays.",
-
E501
Line too long (80 > 79 characters)
13478 "Indicates that a data breakpoint is registered for the object."
13479 ]
13480 },
13481 "attributes": {
-
E501
Line too long (151 > 79 characters)
13482 "description": "Set of attributes represented as an array of strings. Before introducing additional values, try to use the listed values.",
13483 "type": "array",
13484 "items": {
13485 "type": "string",
13486 "_enum": [
13487 "static",
13488 "constant",
13489 "readOnly",
13490 "rawString",
13491 "hasObjectId",
13492 "canHaveObjectId",
13493 "hasSideEffects"
13494 ],
13495 "enumDescriptions": [
13496 "Indicates that the object is static.",
13497 "Indicates that the object is a constant.",
13498 "Indicates that the object is read only.",
13499 "Indicates that the object is a raw string.",
-
E501
Line too long (86 > 79 characters)
13500 "Indicates that the object can have an Object ID created for it.",
-
E501
Line too long (85 > 79 characters)
13501 "Indicates that the object has an Object ID associated with it.",
13502 "Indicates that the evaluation had side effects."
13503 ]
13504 }
13505 },
13506 "visibility": {
-
E501
Line too long (121 > 79 characters)
13507 "description": "Visibility of variable. Before introducing additional values, try to use the listed values.",
13508 "type": "string",
13509 "_enum": [
13510 "public",
13511 "private",
13512 "protected",
13513 "internal",
13514 "final"
13515 ]
13516 }
13517 }
13518 __refs__ = set()
13519
13520 __slots__ = list(__props__.keys()) + ['kwargs']
13521
13522 def __init__(self, kind=None, attributes=None, visibility=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
13523 """
-
E501
Line too long (117 > 79 characters)
13524 :param string kind: The kind of variable. Before introducing additional values, try to use the listed values.
-
E501
Line too long (154 > 79 characters)
13525 :param array attributes: Set of attributes represented as an array of strings. Before introducing additional values, try to use the listed values.
-
E501
Line too long (125 > 79 characters)
13526 :param string visibility: Visibility of variable. Before introducing additional values, try to use the listed values.
13527 """
13528 self.kind = kind
13529 self.attributes = attributes
13530 self.visibility = visibility
13531 self.kwargs = kwargs
13532
13533
13534 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
13535 kind = self.kind
13536 attributes = self.attributes
13537 if attributes and hasattr(attributes[0], "to_dict"):
13538 attributes = [x.to_dict() for x in attributes]
13539 visibility = self.visibility
13540 dct = {
13541 }
13542 if kind is not None:
13543 dct['kind'] = kind
13544 if attributes is not None:
13545 dct['attributes'] = attributes
13546 if visibility is not None:
13547 dct['visibility'] = visibility
13548 dct.update(self.kwargs)
13549 return dct
13550
13551
13552 @register
13553 class BreakpointLocation(BaseSchema):
13554 """
-
E501
Line too long (88 > 79 characters)
13555 Properties of a breakpoint location returned from the 'breakpointLocations' request.
13556
13557 Note: automatically generated code. Do not edit manually.
13558 """
13559
13560 __props__ = {
13561 "line": {
13562 "type": "integer",
13563 "description": "Start line of breakpoint location."
13564 },
13565 "column": {
13566 "type": "integer",
13567 "description": "Optional start column of breakpoint location."
13568 },
13569 "endLine": {
13570 "type": "integer",
-
E501
Line too long (101 > 79 characters)
13571 "description": "Optional end line of breakpoint location if the location covers a range."
13572 },
13573 "endColumn": {
13574 "type": "integer",
-
E501
Line too long (103 > 79 characters)
13575 "description": "Optional end column of breakpoint location if the location covers a range."
13576 }
13577 }
13578 __refs__ = set()
13579
13580 __slots__ = list(__props__.keys()) + ['kwargs']
13581
13582 def __init__(self, line, column=None, endLine=None, endColumn=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
13583 """
13584 :param integer line: Start line of breakpoint location.
13585 :param integer column: Optional start column of breakpoint location.
-
E501
Line too long (104 > 79 characters)
13586 :param integer endLine: Optional end line of breakpoint location if the location covers a range.
-
E501
Line too long (108 > 79 characters)
13587 :param integer endColumn: Optional end column of breakpoint location if the location covers a range.
13588 """
13589 self.line = line
13590 self.column = column
13591 self.endLine = endLine
13592 self.endColumn = endColumn
13593 self.kwargs = kwargs
13594
13595
13596 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
13597 line = self.line
13598 column = self.column
13599 endLine = self.endLine
13600 endColumn = self.endColumn
13601 dct = {
13602 'line': line,
13603 }
13604 if column is not None:
13605 dct['column'] = column
13606 if endLine is not None:
13607 dct['endLine'] = endLine
13608 if endColumn is not None:
13609 dct['endColumn'] = endColumn
13610 dct.update(self.kwargs)
13611 return dct
13612
13613
13614 @register
13615 class SourceBreakpoint(BaseSchema):
13616 """
-
E501
Line too long (80 > 79 characters)
13617 Properties of a breakpoint or logpoint passed to the setBreakpoints request.
13618
13619 Note: automatically generated code. Do not edit manually.
13620 """
13621
13622 __props__ = {
13623 "line": {
13624 "type": "integer",
13625 "description": "The source line of the breakpoint or logpoint."
13626 },
13627 "column": {
13628 "type": "integer",
13629 "description": "An optional source column of the breakpoint."
13630 },
13631 "condition": {
13632 "type": "string",
-
E501
Line too long (179 > 79 characters)
13633 "description": "An optional expression for conditional breakpoints.\nIt is only honored by a debug adapter if the capability 'supportsConditionalBreakpoints' is true."
13634 },
13635 "hitCondition": {
13636 "type": "string",
-
E501
Line too long (287 > 79 characters)
13637 "description": "An optional expression that controls how many hits of the breakpoint are ignored.\nThe backend is expected to interpret the expression as needed.\nThe attribute is only honored by a debug adapter if the capability 'supportsHitConditionalBreakpoints' is true."
13638 },
13639 "logMessage": {
13640 "type": "string",
-
E501
Line too long (274 > 79 characters)
13641 "description": "If this attribute exists and is non-empty, the backend must not 'break' (stop)\nbut log the message instead. Expressions within {} are interpolated.\nThe attribute is only honored by a debug adapter if the capability 'supportsLogPoints' is true."
13642 }
13643 }
13644 __refs__ = set()
13645
13646 __slots__ = list(__props__.keys()) + ['kwargs']
13647
13648 def __init__(self, line, column=None, condition=None, hitCondition=None, logMessage=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
13649 """
13650 :param integer line: The source line of the breakpoint or logpoint.
13651 :param integer column: An optional source column of the breakpoint.
-
E501
Line too long (84 > 79 characters)
13652 :param string condition: An optional expression for conditional breakpoints.
-
E501
Line too long (105 > 79 characters)
13653 It is only honored by a debug adapter if the capability 'supportsConditionalBreakpoints' is true.
-
E501
Line too long (117 > 79 characters)
13654 :param string hitCondition: An optional expression that controls how many hits of the breakpoint are ignored.
13655 The backend is expected to interpret the expression as needed.
-
E501
Line too long (119 > 79 characters)
13656 The attribute is only honored by a debug adapter if the capability 'supportsHitConditionalBreakpoints' is true.
-
E501
Line too long (112 > 79 characters)
13657 :param string logMessage: If this attribute exists and is non-empty, the backend must not 'break' (stop)
13658 but log the message instead. Expressions within {} are interpolated.
-
E501
Line too long (103 > 79 characters)
13659 The attribute is only honored by a debug adapter if the capability 'supportsLogPoints' is true.
13660 """
13661 self.line = line
13662 self.column = column
13663 self.condition = condition
13664 self.hitCondition = hitCondition
13665 self.logMessage = logMessage
13666 self.kwargs = kwargs
13667
13668
13669 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
13670 line = self.line
13671 column = self.column
13672 condition = self.condition
13673 hitCondition = self.hitCondition
13674 logMessage = self.logMessage
13675 dct = {
13676 'line': line,
13677 }
13678 if column is not None:
13679 dct['column'] = column
13680 if condition is not None:
13681 dct['condition'] = condition
13682 if hitCondition is not None:
13683 dct['hitCondition'] = hitCondition
13684 if logMessage is not None:
13685 dct['logMessage'] = logMessage
13686 dct.update(self.kwargs)
13687 return dct
13688
13689
13690 @register
13691 class FunctionBreakpoint(BaseSchema):
13692 """
13693 Properties of a breakpoint passed to the setFunctionBreakpoints request.
13694
13695 Note: automatically generated code. Do not edit manually.
13696 """
13697
13698 __props__ = {
13699 "name": {
13700 "type": "string",
13701 "description": "The name of the function."
13702 },
13703 "condition": {
13704 "type": "string",
-
E501
Line too long (179 > 79 characters)
13705 "description": "An optional expression for conditional breakpoints.\nIt is only honored by a debug adapter if the capability 'supportsConditionalBreakpoints' is true."
13706 },
13707 "hitCondition": {
13708 "type": "string",
-
E501
Line too long (287 > 79 characters)
13709 "description": "An optional expression that controls how many hits of the breakpoint are ignored.\nThe backend is expected to interpret the expression as needed.\nThe attribute is only honored by a debug adapter if the capability 'supportsHitConditionalBreakpoints' is true."
13710 }
13711 }
13712 __refs__ = set()
13713
13714 __slots__ = list(__props__.keys()) + ['kwargs']
13715
13716 def __init__(self, name, condition=None, hitCondition=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
13717 """
13718 :param string name: The name of the function.
-
E501
Line too long (84 > 79 characters)
13719 :param string condition: An optional expression for conditional breakpoints.
-
E501
Line too long (105 > 79 characters)
13720 It is only honored by a debug adapter if the capability 'supportsConditionalBreakpoints' is true.
-
E501
Line too long (117 > 79 characters)
13721 :param string hitCondition: An optional expression that controls how many hits of the breakpoint are ignored.
13722 The backend is expected to interpret the expression as needed.
-
E501
Line too long (119 > 79 characters)
13723 The attribute is only honored by a debug adapter if the capability 'supportsHitConditionalBreakpoints' is true.
13724 """
13725 self.name = name
13726 self.condition = condition
13727 self.hitCondition = hitCondition
13728 self.kwargs = kwargs
13729
13730
13731 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
13732 name = self.name
13733 condition = self.condition
13734 hitCondition = self.hitCondition
13735 dct = {
13736 'name': name,
13737 }
13738 if condition is not None:
13739 dct['condition'] = condition
13740 if hitCondition is not None:
13741 dct['hitCondition'] = hitCondition
13742 dct.update(self.kwargs)
13743 return dct
13744
13745
13746 @register
13747 class DataBreakpointAccessType(BaseSchema):
13748 """
13749 This enumeration defines all possible access types for data breakpoints.
13750
13751 Note: automatically generated code. Do not edit manually.
13752 """
13753
13754 READ = 'read'
13755 WRITE = 'write'
13756 READWRITE = 'readWrite'
13757
13758 VALID_VALUES = set(['read', 'write', 'readWrite'])
13759
13760 __props__ = {}
13761 __refs__ = set()
13762
13763 __slots__ = list(__props__.keys()) + ['kwargs']
13764
13765 def __init__(self, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
13766 """
-
W293
Blank line contains whitespace
13767
13768 """
-
W293
Blank line contains whitespace
13769
13770 self.kwargs = kwargs
13771
13772
13773 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
13774 dct = {
13775 }
13776 dct.update(self.kwargs)
13777 return dct
13778
13779
13780 @register
13781 class DataBreakpoint(BaseSchema):
13782 """
13783 Properties of a data breakpoint passed to the setDataBreakpoints request.
13784
13785 Note: automatically generated code. Do not edit manually.
13786 """
13787
13788 __props__ = {
13789 "dataId": {
13790 "type": "string",
-
E501
Line too long (114 > 79 characters)
13791 "description": "An id representing the data. This id is returned from the dataBreakpointInfo request."
13792 },
13793 "accessType": {
13794 "description": "The access type of the data.",
13795 "type": "DataBreakpointAccessType"
13796 },
13797 "condition": {
13798 "type": "string",
-
E501
Line too long (80 > 79 characters)
13799 "description": "An optional expression for conditional breakpoints."
13800 },
13801 "hitCondition": {
13802 "type": "string",
-
E501
Line too long (174 > 79 characters)
13803 "description": "An optional expression that controls how many hits of the breakpoint are ignored.\nThe backend is expected to interpret the expression as needed."
13804 }
13805 }
13806 __refs__ = set(['accessType'])
13807
13808 __slots__ = list(__props__.keys()) + ['kwargs']
13809
13810 def __init__(self, dataId, accessType=None, condition=None, hitCondition=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
13811 """
-
E501
Line too long (115 > 79 characters)
13812 :param string dataId: An id representing the data. This id is returned from the dataBreakpointInfo request.
-
E501
Line too long (80 > 79 characters)
13813 :param DataBreakpointAccessType accessType: The access type of the data.
-
E501
Line too long (84 > 79 characters)
13814 :param string condition: An optional expression for conditional breakpoints.
-
E501
Line too long (117 > 79 characters)
13815 :param string hitCondition: An optional expression that controls how many hits of the breakpoint are ignored.
13816 The backend is expected to interpret the expression as needed.
13817 """
13818 self.dataId = dataId
13819 if accessType is not None:
13820 assert accessType in DataBreakpointAccessType.VALID_VALUES
13821 self.accessType = accessType
13822 self.condition = condition
13823 self.hitCondition = hitCondition
13824 self.kwargs = kwargs
13825
13826
13827 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
13828 dataId = self.dataId
13829 accessType = self.accessType
13830 condition = self.condition
13831 hitCondition = self.hitCondition
13832 dct = {
13833 'dataId': dataId,
13834 }
13835 if accessType is not None:
13836 dct['accessType'] = accessType
13837 if condition is not None:
13838 dct['condition'] = condition
13839 if hitCondition is not None:
13840 dct['hitCondition'] = hitCondition
13841 dct.update(self.kwargs)
13842 return dct
13843
13844
13845 @register
13846 class InstructionBreakpoint(BaseSchema):
13847 """
13848 Properties of a breakpoint passed to the setInstructionBreakpoints request
13849
13850 Note: automatically generated code. Do not edit manually.
13851 """
13852
13853 __props__ = {
13854 "instructionReference": {
13855 "type": "string",
-
E501
Line too long (206 > 79 characters)
13856 "description": "The instruction reference of the breakpoint.\nThis should be a memory or instruction pointer reference from an EvaluateResponse, Variable, StackFrame, GotoTarget, or Breakpoint."
13857 },
13858 "offset": {
13859 "type": "integer",
-
E501
Line too long (102 > 79 characters)
13860 "description": "An optional offset from the instruction reference.\nThis can be negative."
13861 },
13862 "condition": {
13863 "type": "string",
-
E501
Line too long (179 > 79 characters)
13864 "description": "An optional expression for conditional breakpoints.\nIt is only honored by a debug adapter if the capability 'supportsConditionalBreakpoints' is true."
13865 },
13866 "hitCondition": {
13867 "type": "string",
-
E501
Line too long (287 > 79 characters)
13868 "description": "An optional expression that controls how many hits of the breakpoint are ignored.\nThe backend is expected to interpret the expression as needed.\nThe attribute is only honored by a debug adapter if the capability 'supportsHitConditionalBreakpoints' is true."
13869 }
13870 }
13871 __refs__ = set()
13872
13873 __slots__ = list(__props__.keys()) + ['kwargs']
13874
13875 def __init__(self, instructionReference, offset=None, condition=None, hitCondition=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
13876 """
-
E501
Line too long (88 > 79 characters)
13877 :param string instructionReference: The instruction reference of the breakpoint.
-
E501
Line too long (139 > 79 characters)
13878 This should be a memory or instruction pointer reference from an EvaluateResponse, Variable, StackFrame, GotoTarget, or Breakpoint.
-
E501
Line too long (81 > 79 characters)
13879 :param integer offset: An optional offset from the instruction reference.
13880 This can be negative.
-
E501
Line too long (84 > 79 characters)
13881 :param string condition: An optional expression for conditional breakpoints.
-
E501
Line too long (105 > 79 characters)
13882 It is only honored by a debug adapter if the capability 'supportsConditionalBreakpoints' is true.
-
E501
Line too long (117 > 79 characters)
13883 :param string hitCondition: An optional expression that controls how many hits of the breakpoint are ignored.
13884 The backend is expected to interpret the expression as needed.
-
E501
Line too long (119 > 79 characters)
13885 The attribute is only honored by a debug adapter if the capability 'supportsHitConditionalBreakpoints' is true.
13886 """
13887 self.instructionReference = instructionReference
13888 self.offset = offset
13889 self.condition = condition
13890 self.hitCondition = hitCondition
13891 self.kwargs = kwargs
13892
13893
13894 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
13895 instructionReference = self.instructionReference
13896 offset = self.offset
13897 condition = self.condition
13898 hitCondition = self.hitCondition
13899 dct = {
13900 'instructionReference': instructionReference,
13901 }
13902 if offset is not None:
13903 dct['offset'] = offset
13904 if condition is not None:
13905 dct['condition'] = condition
13906 if hitCondition is not None:
13907 dct['hitCondition'] = hitCondition
13908 dct.update(self.kwargs)
13909 return dct
13910
13911
13912 @register
13913 class Breakpoint(BaseSchema):
13914 """
-
E501
Line too long (85 > 79 characters)
13915 Information about a Breakpoint created in setBreakpoints, setFunctionBreakpoints,
13916 setInstructionBreakpoints, or setDataBreakpoints.
13917
13918 Note: automatically generated code. Do not edit manually.
13919 """
13920
13921 __props__ = {
13922 "id": {
13923 "type": "integer",
-
E501
Line too long (147 > 79 characters)
13924 "description": "An optional identifier for the breakpoint. It is needed if breakpoint events are used to update or remove breakpoints."
13925 },
13926 "verified": {
13927 "type": "boolean",
-
E501
Line too long (107 > 79 characters)
13928 "description": "If true breakpoint could be set (but not necessarily at the desired location)."
13929 },
13930 "message": {
13931 "type": "string",
-
E501
Line too long (177 > 79 characters)
13932 "description": "An optional message about the state of the breakpoint.\nThis is shown to the user and can be used to explain why a breakpoint could not be verified."
13933 },
13934 "source": {
13935 "description": "The source where the breakpoint is located.",
13936 "type": "Source"
13937 },
13938 "line": {
13939 "type": "integer",
-
E501
Line too long (90 > 79 characters)
13940 "description": "The start line of the actual range covered by the breakpoint."
13941 },
13942 "column": {
13943 "type": "integer",
-
E501
Line too long (100 > 79 characters)
13944 "description": "An optional start column of the actual range covered by the breakpoint."
13945 },
13946 "endLine": {
13947 "type": "integer",
-
E501
Line too long (96 > 79 characters)
13948 "description": "An optional end line of the actual range covered by the breakpoint."
13949 },
13950 "endColumn": {
13951 "type": "integer",
-
E501
Line too long (180 > 79 characters)
13952 "description": "An optional end column of the actual range covered by the breakpoint.\nIf no end line is given, then the end column is assumed to be in the start line."
13953 },
13954 "instructionReference": {
13955 "type": "string",
-
E501
Line too long (89 > 79 characters)
13956 "description": "An optional memory reference to where the breakpoint is set."
13957 },
13958 "offset": {
13959 "type": "integer",
-
E501
Line too long (102 > 79 characters)
13960 "description": "An optional offset from the instruction reference.\nThis can be negative."
13961 }
13962 }
13963 __refs__ = set(['source'])
13964
13965 __slots__ = list(__props__.keys()) + ['kwargs']
13966
13967 def __init__(self, verified, id=None, message=None, source=None, line=None, column=None, endLine=None, endColumn=None, instructionReference=None, offset=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
13968 """
-
E501
Line too long (111 > 79 characters)
13969 :param boolean verified: If true breakpoint could be set (but not necessarily at the desired location).
-
E501
Line too long (145 > 79 characters)
13970 :param integer id: An optional identifier for the breakpoint. It is needed if breakpoint events are used to update or remove breakpoints.
-
E501
Line too long (85 > 79 characters)
13971 :param string message: An optional message about the state of the breakpoint.
-
E501
Line too long (100 > 79 characters)
13972 This is shown to the user and can be used to explain why a breakpoint could not be verified.
13973 :param Source source: The source where the breakpoint is located.
-
E501
Line too long (90 > 79 characters)
13974 :param integer line: The start line of the actual range covered by the breakpoint.
-
E501
Line too long (102 > 79 characters)
13975 :param integer column: An optional start column of the actual range covered by the breakpoint.
-
E501
Line too long (99 > 79 characters)
13976 :param integer endLine: An optional end line of the actual range covered by the breakpoint.
-
E501
Line too long (103 > 79 characters)
13977 :param integer endColumn: An optional end column of the actual range covered by the breakpoint.
-
E501
Line too long (88 > 79 characters)
13978 If no end line is given, then the end column is assumed to be in the start line.
-
E501
Line too long (104 > 79 characters)
13979 :param string instructionReference: An optional memory reference to where the breakpoint is set.
-
E501
Line too long (81 > 79 characters)
13980 :param integer offset: An optional offset from the instruction reference.
13981 This can be negative.
13982 """
13983 self.verified = verified
13984 self.id = id
13985 self.message = message
13986 if source is None:
13987 self.source = Source()
13988 else:
-
E501
Line too long (126 > 79 characters)
-
E222
Multiple spaces after operator
13989 self.source = Source(update_ids_from_dap=update_ids_from_dap, **source) if source.__class__ != Source else source
13990 self.line = line
13991 self.column = column
13992 self.endLine = endLine
13993 self.endColumn = endColumn
13994 self.instructionReference = instructionReference
13995 self.offset = offset
13996 self.kwargs = kwargs
13997
13998
13999 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
14000 verified = self.verified
14001 id = self.id # noqa (assign to builtin)
14002 message = self.message
14003 source = self.source
14004 line = self.line
14005 column = self.column
14006 endLine = self.endLine
14007 endColumn = self.endColumn
14008 instructionReference = self.instructionReference
14009 offset = self.offset
14010 dct = {
14011 'verified': verified,
14012 }
14013 if id is not None:
14014 dct['id'] = id
14015 if message is not None:
14016 dct['message'] = message
14017 if source is not None:
14018 dct['source'] = source.to_dict(update_ids_to_dap=update_ids_to_dap)
14019 if line is not None:
14020 dct['line'] = line
14021 if column is not None:
14022 dct['column'] = column
14023 if endLine is not None:
14024 dct['endLine'] = endLine
14025 if endColumn is not None:
14026 dct['endColumn'] = endColumn
14027 if instructionReference is not None:
14028 dct['instructionReference'] = instructionReference
14029 if offset is not None:
14030 dct['offset'] = offset
14031 dct.update(self.kwargs)
14032 return dct
14033
14034
14035 @register
14036 class SteppingGranularity(BaseSchema):
14037 """
-
E501
Line too long (103 > 79 characters)
14038 The granularity of one 'step' in the stepping requests 'next', 'stepIn', 'stepOut', and 'stepBack'.
14039
14040 Note: automatically generated code. Do not edit manually.
14041 """
14042
14043 STATEMENT = 'statement'
14044 LINE = 'line'
14045 INSTRUCTION = 'instruction'
14046
14047 VALID_VALUES = set(['statement', 'line', 'instruction'])
14048
14049 __props__ = {}
14050 __refs__ = set()
14051
14052 __slots__ = list(__props__.keys()) + ['kwargs']
14053
14054 def __init__(self, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
14055 """
-
W293
Blank line contains whitespace
14056
14057 """
-
W293
Blank line contains whitespace
14058
14059 self.kwargs = kwargs
14060
14061
14062 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
14063 dct = {
14064 }
14065 dct.update(self.kwargs)
14066 return dct
14067
14068
14069 @register
14070 class StepInTarget(BaseSchema):
14071 """
-
E501
Line too long (98 > 79 characters)
14072 A StepInTarget can be used in the 'stepIn' request and determines into which single target the
14073 stepIn request should step.
14074
14075 Note: automatically generated code. Do not edit manually.
14076 """
14077
14078 __props__ = {
14079 "id": {
14080 "type": "integer",
14081 "description": "Unique identifier for a stepIn target."
14082 },
14083 "label": {
14084 "type": "string",
14085 "description": "The name of the stepIn target (shown in the UI)."
14086 }
14087 }
14088 __refs__ = set()
14089
14090 __slots__ = list(__props__.keys()) + ['kwargs']
14091
14092 def __init__(self, id, label, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
14093 """
14094 :param integer id: Unique identifier for a stepIn target.
14095 :param string label: The name of the stepIn target (shown in the UI).
14096 """
14097 self.id = id
14098 self.label = label
14099 self.kwargs = kwargs
14100
14101
14102 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
14103 id = self.id # noqa (assign to builtin)
14104 label = self.label
14105 dct = {
14106 'id': id,
14107 'label': label,
14108 }
14109 dct.update(self.kwargs)
14110 return dct
14111
14112
14113 @register
14114 class GotoTarget(BaseSchema):
14115 """
-
E501
Line too long (94 > 79 characters)
14116 A GotoTarget describes a code location that can be used as a target in the 'goto' request.
-
W293
Blank line contains whitespace
14117
14118 The possible goto targets can be determined via the 'gotoTargets' request.
14119
14120 Note: automatically generated code. Do not edit manually.
14121 """
14122
14123 __props__ = {
14124 "id": {
14125 "type": "integer",
-
E501
Line too long (99 > 79 characters)
14126 "description": "Unique identifier for a goto target. This is used in the goto request."
14127 },
14128 "label": {
14129 "type": "string",
14130 "description": "The name of the goto target (shown in the UI)."
14131 },
14132 "line": {
14133 "type": "integer",
14134 "description": "The line of the goto target."
14135 },
14136 "column": {
14137 "type": "integer",
14138 "description": "An optional column of the goto target."
14139 },
14140 "endLine": {
14141 "type": "integer",
-
E501
Line too long (90 > 79 characters)
14142 "description": "An optional end line of the range covered by the goto target."
14143 },
14144 "endColumn": {
14145 "type": "integer",
-
E501
Line too long (92 > 79 characters)
14146 "description": "An optional end column of the range covered by the goto target."
14147 },
14148 "instructionPointerReference": {
14149 "type": "string",
-
E501
Line too long (116 > 79 characters)
14150 "description": "Optional memory reference for the instruction pointer value represented by this target."
14151 }
14152 }
14153 __refs__ = set()
14154
14155 __slots__ = list(__props__.keys()) + ['kwargs']
14156
14157 def __init__(self, id, label, line, column=None, endLine=None, endColumn=None, instructionPointerReference=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
14158 """
-
E501
Line too long (97 > 79 characters)
14159 :param integer id: Unique identifier for a goto target. This is used in the goto request.
14160 :param string label: The name of the goto target (shown in the UI).
14161 :param integer line: The line of the goto target.
14162 :param integer column: An optional column of the goto target.
-
E501
Line too long (93 > 79 characters)
14163 :param integer endLine: An optional end line of the range covered by the goto target.
-
E501
Line too long (97 > 79 characters)
14164 :param integer endColumn: An optional end column of the range covered by the goto target.
-
E501
Line too long (138 > 79 characters)
14165 :param string instructionPointerReference: Optional memory reference for the instruction pointer value represented by this target.
14166 """
14167 self.id = id
14168 self.label = label
14169 self.line = line
14170 self.column = column
14171 self.endLine = endLine
14172 self.endColumn = endColumn
14173 self.instructionPointerReference = instructionPointerReference
14174 self.kwargs = kwargs
14175
14176
14177 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
14178 id = self.id # noqa (assign to builtin)
14179 label = self.label
14180 line = self.line
14181 column = self.column
14182 endLine = self.endLine
14183 endColumn = self.endColumn
14184 instructionPointerReference = self.instructionPointerReference
14185 dct = {
14186 'id': id,
14187 'label': label,
14188 'line': line,
14189 }
14190 if column is not None:
14191 dct['column'] = column
14192 if endLine is not None:
14193 dct['endLine'] = endLine
14194 if endColumn is not None:
14195 dct['endColumn'] = endColumn
14196 if instructionPointerReference is not None:
14197 dct['instructionPointerReference'] = instructionPointerReference
14198 dct.update(self.kwargs)
14199 return dct
14200
14201
14202 @register
14203 class CompletionItem(BaseSchema):
14204 """
14205 CompletionItems are the suggestions returned from the CompletionsRequest.
14206
14207 Note: automatically generated code. Do not edit manually.
14208 """
14209
14210 __props__ = {
14211 "label": {
14212 "type": "string",
-
E501
Line too long (145 > 79 characters)
14213 "description": "The label of this completion item. By default this is also the text that is inserted when selecting this completion."
14214 },
14215 "text": {
14216 "type": "string",
-
E501
Line too long (91 > 79 characters)
14217 "description": "If text is not falsy then it is inserted instead of the label."
14218 },
14219 "sortText": {
14220 "type": "string",
-
E501
Line too long (132 > 79 characters)
14221 "description": "A string that should be used when comparing this item with other items. When `falsy` the label is used."
14222 },
14223 "type": {
-
E501
Line too long (132 > 79 characters)
14224 "description": "The item's type. Typically the client uses this information to render the item in the UI with an icon.",
14225 "type": "CompletionItemType"
14226 },
14227 "start": {
14228 "type": "integer",
-
E501
Line too long (250 > 79 characters)
14229 "description": "This value determines the location (in the CompletionsRequest's 'text' attribute) where the completion text is added.\nIf missing the text is added at the location specified by the CompletionsRequest's 'column' attribute."
14230 },
14231 "length": {
14232 "type": "integer",
-
E501
Line too long (198 > 79 characters)
14233 "description": "This value determines how many characters are overwritten by the completion text.\nIf missing the value 0 is assumed which results in the completion text being inserted."
14234 },
14235 "selectionStart": {
14236 "type": "integer",
-
E501
Line too long (261 > 79 characters)
14237 "description": "Determines the start of the new selection after the text has been inserted (or replaced).\nThe start position must in the range 0 and length of the completion text.\nIf omitted the selection starts at the end of the completion text."
14238 },
14239 "selectionLength": {
14240 "type": "integer",
-
E501
Line too long (234 > 79 characters)
14241 "description": "Determines the length of the new selection after the text has been inserted (or replaced).\nThe selection can not extend beyond the bounds of the completion text.\nIf omitted the length is assumed to be 0."
14242 }
14243 }
14244 __refs__ = set(['type'])
14245
14246 __slots__ = list(__props__.keys()) + ['kwargs']
14247
14248 def __init__(self, label, text=None, sortText=None, type=None, start=None, length=None, selectionStart=None, selectionLength=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
14249 """
-
E501
Line too long (145 > 79 characters)
14250 :param string label: The label of this completion item. By default this is also the text that is inserted when selecting this completion.
-
E501
Line too long (90 > 79 characters)
14251 :param string text: If text is not falsy then it is inserted instead of the label.
-
E501
Line too long (135 > 79 characters)
14252 :param string sortText: A string that should be used when comparing this item with other items. When `falsy` the label is used.
-
E501
Line too long (142 > 79 characters)
14253 :param CompletionItemType type: The item's type. Typically the client uses this information to render the item in the UI with an icon.
-
E501
Line too long (147 > 79 characters)
14254 :param integer start: This value determines the location (in the CompletionsRequest's 'text' attribute) where the completion text is added.
-
E501
Line too long (110 > 79 characters)
14255 If missing the text is added at the location specified by the CompletionsRequest's 'column' attribute.
-
E501
Line too long (112 > 79 characters)
14256 :param integer length: This value determines how many characters are overwritten by the completion text.
-
E501
Line too long (94 > 79 characters)
14257 If missing the value 0 is assumed which results in the completion text being inserted.
-
E501
Line too long (128 > 79 characters)
14258 :param integer selectionStart: Determines the start of the new selection after the text has been inserted (or replaced).
-
E501
Line too long (81 > 79 characters)
14259 The start position must in the range 0 and length of the completion text.
14260 If omitted the selection starts at the end of the completion text.
-
E501
Line too long (130 > 79 characters)
14261 :param integer selectionLength: Determines the length of the new selection after the text has been inserted (or replaced).
14262 The selection can not extend beyond the bounds of the completion text.
14263 If omitted the length is assumed to be 0.
14264 """
14265 self.label = label
14266 self.text = text
14267 self.sortText = sortText
14268 if type is not None:
14269 assert type in CompletionItemType.VALID_VALUES
14270 self.type = type
14271 self.start = start
14272 self.length = length
14273 self.selectionStart = selectionStart
14274 self.selectionLength = selectionLength
14275 self.kwargs = kwargs
14276
14277
14278 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
14279 label = self.label
14280 text = self.text
14281 sortText = self.sortText
14282 type = self.type # noqa (assign to builtin)
14283 start = self.start
14284 length = self.length
14285 selectionStart = self.selectionStart
14286 selectionLength = self.selectionLength
14287 dct = {
14288 'label': label,
14289 }
14290 if text is not None:
14291 dct['text'] = text
14292 if sortText is not None:
14293 dct['sortText'] = sortText
14294 if type is not None:
14295 dct['type'] = type
14296 if start is not None:
14297 dct['start'] = start
14298 if length is not None:
14299 dct['length'] = length
14300 if selectionStart is not None:
14301 dct['selectionStart'] = selectionStart
14302 if selectionLength is not None:
14303 dct['selectionLength'] = selectionLength
14304 dct.update(self.kwargs)
14305 return dct
14306
14307
14308 @register
14309 class CompletionItemType(BaseSchema):
14310 """
-
E501
Line too long (102 > 79 characters)
14311 Some predefined types for the CompletionItem. Please note that not all clients have specific icons
14312 for all of them.
14313
14314 Note: automatically generated code. Do not edit manually.
14315 """
14316
14317 METHOD = 'method'
14318 FUNCTION = 'function'
14319 CONSTRUCTOR = 'constructor'
14320 FIELD = 'field'
14321 VARIABLE = 'variable'
14322 CLASS = 'class'
14323 INTERFACE = 'interface'
14324 MODULE = 'module'
14325 PROPERTY = 'property'
14326 UNIT = 'unit'
14327 VALUE = 'value'
14328 ENUM = 'enum'
14329 KEYWORD = 'keyword'
14330 SNIPPET = 'snippet'
14331 TEXT = 'text'
14332 COLOR = 'color'
14333 FILE = 'file'
14334 REFERENCE = 'reference'
14335 CUSTOMCOLOR = 'customcolor'
14336
-
E501
Line too long (226 > 79 characters)
14337 VALID_VALUES = set(['method', 'function', 'constructor', 'field', 'variable', 'class', 'interface', 'module', 'property', 'unit', 'value', 'enum', 'keyword', 'snippet', 'text', 'color', 'file', 'reference', 'customcolor'])
14338
14339 __props__ = {}
14340 __refs__ = set()
14341
14342 __slots__ = list(__props__.keys()) + ['kwargs']
14343
14344 def __init__(self, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
14345 """
-
W293
Blank line contains whitespace
14346
14347 """
-
W293
Blank line contains whitespace
14348
14349 self.kwargs = kwargs
14350
14351
14352 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
14353 dct = {
14354 }
14355 dct.update(self.kwargs)
14356 return dct
14357
14358
14359 @register
14360 class ChecksumAlgorithm(BaseSchema):
14361 """
14362 Names of checksum algorithms that may be supported by a debug adapter.
14363
14364 Note: automatically generated code. Do not edit manually.
14365 """
14366
14367 MD5 = 'MD5'
14368 SHA1 = 'SHA1'
14369 SHA256 = 'SHA256'
14370 TIMESTAMP = 'timestamp'
14371
14372 VALID_VALUES = set(['MD5', 'SHA1', 'SHA256', 'timestamp'])
14373
14374 __props__ = {}
14375 __refs__ = set()
14376
14377 __slots__ = list(__props__.keys()) + ['kwargs']
14378
14379 def __init__(self, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
14380 """
-
W293
Blank line contains whitespace
14381
14382 """
-
W293
Blank line contains whitespace
14383
14384 self.kwargs = kwargs
14385
14386
14387 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
14388 dct = {
14389 }
14390 dct.update(self.kwargs)
14391 return dct
14392
14393
14394 @register
14395 class Checksum(BaseSchema):
14396 """
14397 The checksum of an item calculated by the specified algorithm.
14398
14399 Note: automatically generated code. Do not edit manually.
14400 """
14401
14402 __props__ = {
14403 "algorithm": {
14404 "description": "The algorithm used to calculate this checksum.",
14405 "type": "ChecksumAlgorithm"
14406 },
14407 "checksum": {
14408 "type": "string",
14409 "description": "Value of the checksum."
14410 }
14411 }
14412 __refs__ = set(['algorithm'])
14413
14414 __slots__ = list(__props__.keys()) + ['kwargs']
14415
14416 def __init__(self, algorithm, checksum, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
14417 """
-
E501
Line too long (90 > 79 characters)
14418 :param ChecksumAlgorithm algorithm: The algorithm used to calculate this checksum.
14419 :param string checksum: Value of the checksum.
14420 """
14421 if algorithm is not None:
14422 assert algorithm in ChecksumAlgorithm.VALID_VALUES
14423 self.algorithm = algorithm
14424 self.checksum = checksum
14425 self.kwargs = kwargs
14426
14427
14428 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
14429 algorithm = self.algorithm
14430 checksum = self.checksum
14431 dct = {
14432 'algorithm': algorithm,
14433 'checksum': checksum,
14434 }
14435 dct.update(self.kwargs)
14436 return dct
14437
14438
14439 @register
14440 class ValueFormat(BaseSchema):
14441 """
14442 Provides formatting information for a value.
14443
14444 Note: automatically generated code. Do not edit manually.
14445 """
14446
14447 __props__ = {
14448 "hex": {
14449 "type": "boolean",
14450 "description": "Display the value in hex."
14451 }
14452 }
14453 __refs__ = set()
14454
14455 __slots__ = list(__props__.keys()) + ['kwargs']
14456
14457 def __init__(self, hex=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
14458 """
14459 :param boolean hex: Display the value in hex.
14460 """
14461 self.hex = hex
14462 self.kwargs = kwargs
14463
14464
14465 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
14466 hex = self.hex # noqa (assign to builtin)
14467 dct = {
14468 }
14469 if hex is not None:
14470 dct['hex'] = hex
14471 dct.update(self.kwargs)
14472 return dct
14473
14474
14475 @register
14476 class StackFrameFormat(BaseSchema):
14477 """
14478 Provides formatting information for a stack frame.
14479
14480 Note: automatically generated code. Do not edit manually.
14481 """
14482
14483 __props__ = {
14484 "hex": {
14485 "type": "boolean",
14486 "description": "Display the value in hex."
14487 },
14488 "parameters": {
14489 "type": "boolean",
14490 "description": "Displays parameters for the stack frame."
14491 },
14492 "parameterTypes": {
14493 "type": "boolean",
-
E501
Line too long (82 > 79 characters)
14494 "description": "Displays the types of parameters for the stack frame."
14495 },
14496 "parameterNames": {
14497 "type": "boolean",
-
E501
Line too long (82 > 79 characters)
14498 "description": "Displays the names of parameters for the stack frame."
14499 },
14500 "parameterValues": {
14501 "type": "boolean",
-
E501
Line too long (83 > 79 characters)
14502 "description": "Displays the values of parameters for the stack frame."
14503 },
14504 "line": {
14505 "type": "boolean",
14506 "description": "Displays the line number of the stack frame."
14507 },
14508 "module": {
14509 "type": "boolean",
14510 "description": "Displays the module of the stack frame."
14511 },
14512 "includeAll": {
14513 "type": "boolean",
-
E501
Line too long (111 > 79 characters)
14514 "description": "Includes all stack frames, including those the debug adapter might otherwise hide."
14515 }
14516 }
14517 __refs__ = set()
14518
14519 __slots__ = list(__props__.keys()) + ['kwargs']
14520
14521 def __init__(self, hex=None, parameters=None, parameterTypes=None, parameterNames=None, parameterValues=None, line=None, module=None, includeAll=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
14522 """
14523 :param boolean hex: Display the value in hex.
14524 :param boolean parameters: Displays parameters for the stack frame.
-
E501
Line too long (92 > 79 characters)
14525 :param boolean parameterTypes: Displays the types of parameters for the stack frame.
-
E501
Line too long (92 > 79 characters)
14526 :param boolean parameterNames: Displays the names of parameters for the stack frame.
-
E501
Line too long (94 > 79 characters)
14527 :param boolean parameterValues: Displays the values of parameters for the stack frame.
14528 :param boolean line: Displays the line number of the stack frame.
14529 :param boolean module: Displays the module of the stack frame.
-
E501
Line too long (117 > 79 characters)
14530 :param boolean includeAll: Includes all stack frames, including those the debug adapter might otherwise hide.
14531 """
14532 self.hex = hex
14533 self.parameters = parameters
14534 self.parameterTypes = parameterTypes
14535 self.parameterNames = parameterNames
14536 self.parameterValues = parameterValues
14537 self.line = line
14538 self.module = module
14539 self.includeAll = includeAll
14540 self.kwargs = kwargs
14541
14542
14543 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
14544 hex = self.hex # noqa (assign to builtin)
14545 parameters = self.parameters
14546 parameterTypes = self.parameterTypes
14547 parameterNames = self.parameterNames
14548 parameterValues = self.parameterValues
14549 line = self.line
14550 module = self.module
14551 includeAll = self.includeAll
14552 dct = {
14553 }
14554 if hex is not None:
14555 dct['hex'] = hex
14556 if parameters is not None:
14557 dct['parameters'] = parameters
14558 if parameterTypes is not None:
14559 dct['parameterTypes'] = parameterTypes
14560 if parameterNames is not None:
14561 dct['parameterNames'] = parameterNames
14562 if parameterValues is not None:
14563 dct['parameterValues'] = parameterValues
14564 if line is not None:
14565 dct['line'] = line
14566 if module is not None:
14567 dct['module'] = module
14568 if includeAll is not None:
14569 dct['includeAll'] = includeAll
14570 dct.update(self.kwargs)
14571 return dct
14572
14573
14574 @register
14575 class ExceptionFilterOptions(BaseSchema):
14576 """
-
E501
Line too long (102 > 79 characters)
14577 An ExceptionFilterOptions is used to specify an exception filter together with a condition for the
14578 setExceptionsFilter request.
14579
14580 Note: automatically generated code. Do not edit manually.
14581 """
14582
14583 __props__ = {
14584 "filterId": {
14585 "type": "string",
-
E501
Line too long (111 > 79 characters)
14586 "description": "ID of an exception filter returned by the 'exceptionBreakpointFilters' capability."
14587 },
14588 "condition": {
14589 "type": "string",
-
E501
Line too long (163 > 79 characters)
14590 "description": "An optional expression for conditional exceptions.\nThe exception will break into the debugger if the result of the condition is true."
14591 }
14592 }
14593 __refs__ = set()
14594
14595 __slots__ = list(__props__.keys()) + ['kwargs']
14596
14597 def __init__(self, filterId, condition=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
14598 """
-
E501
Line too long (114 > 79 characters)
14599 :param string filterId: ID of an exception filter returned by the 'exceptionBreakpointFilters' capability.
-
E501
Line too long (83 > 79 characters)
14600 :param string condition: An optional expression for conditional exceptions.
-
E501
Line too long (90 > 79 characters)
14601 The exception will break into the debugger if the result of the condition is true.
14602 """
14603 self.filterId = filterId
14604 self.condition = condition
14605 self.kwargs = kwargs
14606
14607
14608 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
14609 filterId = self.filterId
14610 condition = self.condition
14611 dct = {
14612 'filterId': filterId,
14613 }
14614 if condition is not None:
14615 dct['condition'] = condition
14616 dct.update(self.kwargs)
14617 return dct
14618
14619
14620 @register
14621 class ExceptionOptions(BaseSchema):
14622 """
14623 An ExceptionOptions assigns configuration options to a set of exceptions.
14624
14625 Note: automatically generated code. Do not edit manually.
14626 """
14627
14628 __props__ = {
14629 "path": {
14630 "type": "array",
14631 "items": {
14632 "$ref": "#/definitions/ExceptionPathSegment"
14633 },
-
E501
Line too long (244 > 79 characters)
14634 "description": "A path that selects a single or multiple exceptions in a tree. If 'path' is missing, the whole tree is selected.\nBy convention the first segment of the path is a category that is used to group exceptions in the UI."
14635 },
14636 "breakMode": {
-
E501
Line too long (89 > 79 characters)
14637 "description": "Condition when a thrown exception should result in a break.",
14638 "type": "ExceptionBreakMode"
14639 }
14640 }
14641 __refs__ = set(['breakMode'])
14642
14643 __slots__ = list(__props__.keys()) + ['kwargs']
14644
14645 def __init__(self, breakMode, path=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
14646 """
-
E501
Line too long (104 > 79 characters)
14647 :param ExceptionBreakMode breakMode: Condition when a thrown exception should result in a break.
-
E501
Line too long (139 > 79 characters)
14648 :param array path: A path that selects a single or multiple exceptions in a tree. If 'path' is missing, the whole tree is selected.
-
E501
Line too long (109 > 79 characters)
14649 By convention the first segment of the path is a category that is used to group exceptions in the UI.
14650 """
14651 if breakMode is not None:
14652 assert breakMode in ExceptionBreakMode.VALID_VALUES
14653 self.breakMode = breakMode
14654 self.path = path
14655 if update_ids_from_dap and self.path:
14656 for o in self.path:
14657 ExceptionPathSegment.update_dict_ids_from_dap(o)
14658 self.kwargs = kwargs
14659
14660
14661 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
14662 breakMode = self.breakMode
14663 path = self.path
14664 if path and hasattr(path[0], "to_dict"):
14665 path = [x.to_dict() for x in path]
14666 dct = {
14667 'breakMode': breakMode,
14668 }
14669 if path is not None:
-
E501
Line too long (130 > 79 characters)
14670 dct['path'] = [ExceptionPathSegment.update_dict_ids_to_dap(o) for o in path] if (update_ids_to_dap and path) else path
14671 dct.update(self.kwargs)
14672 return dct
14673
14674
14675 @register
14676 class ExceptionBreakMode(BaseSchema):
14677 """
-
E501
Line too long (102 > 79 characters)
14678 This enumeration defines all possible conditions when a thrown exception should result in a break.
-
W293
Blank line contains whitespace
14679
14680 never: never breaks,
-
W293
Blank line contains whitespace
14681
14682 always: always breaks,
-
W293
Blank line contains whitespace
14683
14684 unhandled: breaks when exception unhandled,
-
W293
Blank line contains whitespace
14685
14686 userUnhandled: breaks if the exception is not handled by user code.
14687
14688 Note: automatically generated code. Do not edit manually.
14689 """
14690
14691 NEVER = 'never'
14692 ALWAYS = 'always'
14693 UNHANDLED = 'unhandled'
14694 USERUNHANDLED = 'userUnhandled'
14695
14696 VALID_VALUES = set(['never', 'always', 'unhandled', 'userUnhandled'])
14697
14698 __props__ = {}
14699 __refs__ = set()
14700
14701 __slots__ = list(__props__.keys()) + ['kwargs']
14702
14703 def __init__(self, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
14704 """
-
W293
Blank line contains whitespace
14705
14706 """
-
W293
Blank line contains whitespace
14707
14708 self.kwargs = kwargs
14709
14710
14711 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
14712 dct = {
14713 }
14714 dct.update(self.kwargs)
14715 return dct
14716
14717
14718 @register
14719 class ExceptionPathSegment(BaseSchema):
14720 """
-
E501
Line too long (100 > 79 characters)
14721 An ExceptionPathSegment represents a segment in a path that is used to match leafs or nodes in a
14722 tree of exceptions.
-
W293
Blank line contains whitespace
14723
-
E501
Line too long (102 > 79 characters)
14724 If a segment consists of more than one name, it matches the names provided if 'negate' is false or
14725 missing or
-
W293
Blank line contains whitespace
14726
14727 it matches anything except the names provided if 'negate' is true.
14728
14729 Note: automatically generated code. Do not edit manually.
14730 """
14731
14732 __props__ = {
14733 "negate": {
14734 "type": "boolean",
-
E501
Line too long (146 > 79 characters)
14735 "description": "If false or missing this segment matches the names provided, otherwise it matches anything except the names provided."
14736 },
14737 "names": {
14738 "type": "array",
14739 "items": {
14740 "type": "string"
14741 },
-
E501
Line too long (105 > 79 characters)
14742 "description": "Depending on the value of 'negate' the names that should match or not match."
14743 }
14744 }
14745 __refs__ = set()
14746
14747 __slots__ = list(__props__.keys()) + ['kwargs']
14748
14749 def __init__(self, names, negate=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
14750 """
-
E501
Line too long (104 > 79 characters)
14751 :param array names: Depending on the value of 'negate' the names that should match or not match.
-
E501
Line too long (148 > 79 characters)
14752 :param boolean negate: If false or missing this segment matches the names provided, otherwise it matches anything except the names provided.
14753 """
14754 self.names = names
14755 self.negate = negate
14756 self.kwargs = kwargs
14757
14758
14759 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
14760 names = self.names
14761 if names and hasattr(names[0], "to_dict"):
14762 names = [x.to_dict() for x in names]
14763 negate = self.negate
14764 dct = {
14765 'names': names,
14766 }
14767 if negate is not None:
14768 dct['negate'] = negate
14769 dct.update(self.kwargs)
14770 return dct
14771
14772
14773 @register
14774 class ExceptionDetails(BaseSchema):
14775 """
14776 Detailed information about an exception that has occurred.
14777
14778 Note: automatically generated code. Do not edit manually.
14779 """
14780
14781 __props__ = {
14782 "message": {
14783 "type": "string",
14784 "description": "Message contained in the exception."
14785 },
14786 "typeName": {
14787 "type": "string",
14788 "description": "Short type name of the exception object."
14789 },
14790 "fullTypeName": {
14791 "type": "string",
14792 "description": "Fully-qualified type name of the exception object."
14793 },
14794 "evaluateName": {
14795 "type": "string",
-
E501
Line too long (123 > 79 characters)
14796 "description": "Optional expression that can be evaluated in the current scope to obtain the exception object."
14797 },
14798 "stackTrace": {
14799 "type": "string",
14800 "description": "Stack trace at the time the exception was thrown."
14801 },
14802 "innerException": {
14803 "type": "array",
14804 "items": {
14805 "$ref": "#/definitions/ExceptionDetails"
14806 },
-
E501
Line too long (90 > 79 characters)
14807 "description": "Details of the exception contained by this exception, if any."
14808 }
14809 }
14810 __refs__ = set()
14811
14812 __slots__ = list(__props__.keys()) + ['kwargs']
14813
14814 def __init__(self, message=None, typeName=None, fullTypeName=None, evaluateName=None, stackTrace=None, innerException=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
14815 """
14816 :param string message: Message contained in the exception.
14817 :param string typeName: Short type name of the exception object.
-
E501
Line too long (86 > 79 characters)
14818 :param string fullTypeName: Fully-qualified type name of the exception object.
-
E501
Line too long (130 > 79 characters)
14819 :param string evaluateName: Optional expression that can be evaluated in the current scope to obtain the exception object.
-
E501
Line too long (83 > 79 characters)
14820 :param string stackTrace: Stack trace at the time the exception was thrown.
-
E501
Line too long (98 > 79 characters)
14821 :param array innerException: Details of the exception contained by this exception, if any.
14822 """
14823 self.message = message
14824 self.typeName = typeName
14825 self.fullTypeName = fullTypeName
14826 self.evaluateName = evaluateName
14827 self.stackTrace = stackTrace
14828 self.innerException = innerException
14829 if update_ids_from_dap and self.innerException:
14830 for o in self.innerException:
14831 ExceptionDetails.update_dict_ids_from_dap(o)
14832 self.kwargs = kwargs
14833
14834
14835 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
14836 message = self.message
14837 typeName = self.typeName
14838 fullTypeName = self.fullTypeName
14839 evaluateName = self.evaluateName
14840 stackTrace = self.stackTrace
14841 innerException = self.innerException
14842 if innerException and hasattr(innerException[0], "to_dict"):
14843 innerException = [x.to_dict() for x in innerException]
14844 dct = {
14845 }
14846 if message is not None:
14847 dct['message'] = message
14848 if typeName is not None:
14849 dct['typeName'] = typeName
14850 if fullTypeName is not None:
14851 dct['fullTypeName'] = fullTypeName
14852 if evaluateName is not None:
14853 dct['evaluateName'] = evaluateName
14854 if stackTrace is not None:
14855 dct['stackTrace'] = stackTrace
14856 if innerException is not None:
-
E501
Line too long (166 > 79 characters)
14857 dct['innerException'] = [ExceptionDetails.update_dict_ids_to_dap(o) for o in innerException] if (update_ids_to_dap and innerException) else innerException
14858 dct.update(self.kwargs)
14859 return dct
14860
14861
14862 @register
14863 class DisassembledInstruction(BaseSchema):
14864 """
14865 Represents a single disassembled instruction.
14866
14867 Note: automatically generated code. Do not edit manually.
14868 """
14869
14870 __props__ = {
14871 "address": {
14872 "type": "string",
-
E501
Line too long (139 > 79 characters)
14873 "description": "The address of the instruction. Treated as a hex value if prefixed with '0x', or as a decimal value otherwise."
14874 },
14875 "instructionBytes": {
14876 "type": "string",
-
E501
Line too long (131 > 79 characters)
14877 "description": "Optional raw bytes representing the instruction and its operands, in an implementation-defined format."
14878 },
14879 "instruction": {
14880 "type": "string",
-
E501
Line too long (117 > 79 characters)
14881 "description": "Text representing the instruction and its operands, in an implementation-defined format."
14882 },
14883 "symbol": {
14884 "type": "string",
-
E501
Line too long (111 > 79 characters)
14885 "description": "Name of the symbol that corresponds with the location of this instruction, if any."
14886 },
14887 "location": {
-
E501
Line too long (272 > 79 characters)
14888 "description": "Source location that corresponds to this instruction, if any.\nShould always be set (if available) on the first instruction returned,\nbut can be omitted afterwards if this instruction maps to the same source file as the previous instruction.",
14889 "type": "Source"
14890 },
14891 "line": {
14892 "type": "integer",
-
E501
Line too long (110 > 79 characters)
14893 "description": "The line within the source location that corresponds to this instruction, if any."
14894 },
14895 "column": {
14896 "type": "integer",
-
E501
Line too long (101 > 79 characters)
14897 "description": "The column within the line that corresponds to this instruction, if any."
14898 },
14899 "endLine": {
14900 "type": "integer",
-
E501
Line too long (100 > 79 characters)
14901 "description": "The end line of the range that corresponds to this instruction, if any."
14902 },
14903 "endColumn": {
14904 "type": "integer",
-
E501
Line too long (102 > 79 characters)
14905 "description": "The end column of the range that corresponds to this instruction, if any."
14906 }
14907 }
14908 __refs__ = set(['location'])
14909
14910 __slots__ = list(__props__.keys()) + ['kwargs']
14911
14912 def __init__(self, address, instruction, instructionBytes=None, symbol=None, location=None, line=None, column=None, endLine=None, endColumn=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
14913 """
-
E501
Line too long (141 > 79 characters)
14914 :param string address: The address of the instruction. Treated as a hex value if prefixed with '0x', or as a decimal value otherwise.
-
E501
Line too long (123 > 79 characters)
14915 :param string instruction: Text representing the instruction and its operands, in an implementation-defined format.
-
E501
Line too long (142 > 79 characters)
14916 :param string instructionBytes: Optional raw bytes representing the instruction and its operands, in an implementation-defined format.
-
E501
Line too long (112 > 79 characters)
14917 :param string symbol: Name of the symbol that corresponds with the location of this instruction, if any.
-
E501
Line too long (93 > 79 characters)
14918 :param Source location: Source location that corresponds to this instruction, if any.
14919 Should always be set (if available) on the first instruction returned,
-
E501
Line too long (115 > 79 characters)
14920 but can be omitted afterwards if this instruction maps to the same source file as the previous instruction.
-
E501
Line too long (110 > 79 characters)
14921 :param integer line: The line within the source location that corresponds to this instruction, if any.
-
E501
Line too long (103 > 79 characters)
14922 :param integer column: The column within the line that corresponds to this instruction, if any.
-
E501
Line too long (103 > 79 characters)
14923 :param integer endLine: The end line of the range that corresponds to this instruction, if any.
-
E501
Line too long (107 > 79 characters)
14924 :param integer endColumn: The end column of the range that corresponds to this instruction, if any.
14925 """
14926 self.address = address
14927 self.instruction = instruction
14928 self.instructionBytes = instructionBytes
14929 self.symbol = symbol
14930 if location is None:
14931 self.location = Source()
14932 else:
-
E501
Line too long (134 > 79 characters)
-
E222
Multiple spaces after operator
14933 self.location = Source(update_ids_from_dap=update_ids_from_dap, **location) if location.__class__ != Source else location
14934 self.line = line
14935 self.column = column
14936 self.endLine = endLine
14937 self.endColumn = endColumn
14938 self.kwargs = kwargs
14939
14940
14941 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
14942 address = self.address
14943 instruction = self.instruction
14944 instructionBytes = self.instructionBytes
14945 symbol = self.symbol
14946 location = self.location
14947 line = self.line
14948 column = self.column
14949 endLine = self.endLine
14950 endColumn = self.endColumn
14951 dct = {
14952 'address': address,
14953 'instruction': instruction,
14954 }
14955 if instructionBytes is not None:
14956 dct['instructionBytes'] = instructionBytes
14957 if symbol is not None:
14958 dct['symbol'] = symbol
14959 if location is not None:
-
E501
Line too long (83 > 79 characters)
14960 dct['location'] = location.to_dict(update_ids_to_dap=update_ids_to_dap)
14961 if line is not None:
14962 dct['line'] = line
14963 if column is not None:
14964 dct['column'] = column
14965 if endLine is not None:
14966 dct['endLine'] = endLine
14967 if endColumn is not None:
14968 dct['endColumn'] = endColumn
14969 dct.update(self.kwargs)
14970 return dct
14971
14972
14973 @register
14974 class InvalidatedAreas(BaseSchema):
14975 """
14976 Logical areas that can be invalidated by the 'invalidated' event.
14977
14978 Note: automatically generated code. Do not edit manually.
14979 """
14980
14981 __props__ = {}
14982 __refs__ = set()
14983
14984 __slots__ = list(__props__.keys()) + ['kwargs']
14985
14986 def __init__(self, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
14987 """
-
W293
Blank line contains whitespace
14988
14989 """
-
W293
Blank line contains whitespace
14990
14991 self.kwargs = kwargs
14992
14993
14994 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
14995 dct = {
14996 }
14997 dct.update(self.kwargs)
14998 return dct
14999
15000
15001 @register_request('setDebuggerProperty')
15002 @register
15003 class SetDebuggerPropertyRequest(BaseSchema):
15004 """
15005 The request can be used to enable or disable debugger features.
15006
15007 Note: automatically generated code. Do not edit manually.
15008 """
15009
15010 __props__ = {
15011 "seq": {
15012 "type": "integer",
-
E501
Line too long (155 > 79 characters)
15013 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
15014 },
15015 "type": {
15016 "type": "string",
15017 "enum": [
15018 "request"
15019 ]
15020 },
15021 "command": {
15022 "type": "string",
15023 "enum": [
15024 "setDebuggerProperty"
15025 ]
15026 },
15027 "arguments": {
15028 "type": "SetDebuggerPropertyArguments"
15029 }
15030 }
15031 __refs__ = set(['arguments'])
15032
15033 __slots__ = list(__props__.keys()) + ['kwargs']
15034
15035 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
15036 """
15037 :param string type:
15038 :param string command:
15039 :param SetDebuggerPropertyArguments arguments:
-
E501
Line too long (154 > 79 characters)
15040 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
15041 """
15042 self.type = 'request'
15043 self.command = 'setDebuggerProperty'
15044 if arguments is None:
15045 self.arguments = SetDebuggerPropertyArguments()
15046 else:
-
E501
Line too long (182 > 79 characters)
-
E222
Multiple spaces after operator
15047 self.arguments = SetDebuggerPropertyArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != SetDebuggerPropertyArguments else arguments
15048 self.seq = seq
15049 self.kwargs = kwargs
15050
15051
15052 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
15053 type = self.type # noqa (assign to builtin)
15054 command = self.command
15055 arguments = self.arguments
15056 seq = self.seq
15057 dct = {
15058 'type': type,
15059 'command': command,
-
E501
Line too long (80 > 79 characters)
15060 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
15061 'seq': seq,
15062 }
15063 dct.update(self.kwargs)
15064 return dct
15065
15066
15067 @register
15068 class SetDebuggerPropertyArguments(BaseSchema):
15069 """
15070 Arguments for 'setDebuggerProperty' request.
15071
15072 Note: automatically generated code. Do not edit manually.
15073 """
15074
15075 __props__ = {
15076 "ideOS": {
15077 "type": [
15078 "string"
15079 ],
-
E501
Line too long (91 > 79 characters)
15080 "description": "OS where the ide is running. Supported values [Windows, Linux]"
15081 },
15082 "dontTraceStartPatterns": {
15083 "type": [
15084 "array"
15085 ],
-
E501
Line too long (151 > 79 characters)
15086 "description": "Patterns to match with the start of the file paths. Matching paths will be added to a list of file where trace is ignored."
15087 },
15088 "dontTraceEndPatterns": {
15089 "type": [
15090 "array"
15091 ],
-
E501
Line too long (149 > 79 characters)
15092 "description": "Patterns to match with the end of the file paths. Matching paths will be added to a list of file where trace is ignored."
15093 },
15094 "skipSuspendOnBreakpointException": {
15095 "type": [
15096 "array"
15097 ],
-
E501
Line too long (104 > 79 characters)
15098 "description": "List of exceptions that should be skipped when doing condition evaluations."
15099 },
15100 "skipPrintBreakpointException": {
15101 "type": [
15102 "array"
15103 ],
-
E501
Line too long (117 > 79 characters)
15104 "description": "List of exceptions that should skip printing to stderr when doing condition evaluations."
15105 },
15106 "multiThreadsSingleNotification": {
15107 "type": [
15108 "boolean"
15109 ],
-
E501
Line too long (169 > 79 characters)
15110 "description": "If false then a notification is generated for each thread event. If true a single event is gnenerated, and all threads follow that behavior."
15111 }
15112 }
15113 __refs__ = set()
15114
15115 __slots__ = list(__props__.keys()) + ['kwargs']
15116
15117 def __init__(self, ideOS=None, dontTraceStartPatterns=None, dontTraceEndPatterns=None, skipSuspendOnBreakpointException=None, skipPrintBreakpointException=None, multiThreadsSingleNotification=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
15118 """
-
E501
Line too long (95 > 79 characters)
15119 :param ['string'] ideOS: OS where the ide is running. Supported values [Windows, Linux]
-
E501
Line too long (171 > 79 characters)
15120 :param ['array'] dontTraceStartPatterns: Patterns to match with the start of the file paths. Matching paths will be added to a list of file where trace is ignored.
-
E501
Line too long (167 > 79 characters)
15121 :param ['array'] dontTraceEndPatterns: Patterns to match with the end of the file paths. Matching paths will be added to a list of file where trace is ignored.
-
E501
Line too long (134 > 79 characters)
15122 :param ['array'] skipSuspendOnBreakpointException: List of exceptions that should be skipped when doing condition evaluations.
-
E501
Line too long (143 > 79 characters)
15123 :param ['array'] skipPrintBreakpointException: List of exceptions that should skip printing to stderr when doing condition evaluations.
-
E501
Line too long (199 > 79 characters)
15124 :param ['boolean'] multiThreadsSingleNotification: If false then a notification is generated for each thread event. If true a single event is gnenerated, and all threads follow that behavior.
15125 """
15126 self.ideOS = ideOS
15127 self.dontTraceStartPatterns = dontTraceStartPatterns
15128 self.dontTraceEndPatterns = dontTraceEndPatterns
-
E501
Line too long (80 > 79 characters)
15129 self.skipSuspendOnBreakpointException = skipSuspendOnBreakpointException
15130 self.skipPrintBreakpointException = skipPrintBreakpointException
15131 self.multiThreadsSingleNotification = multiThreadsSingleNotification
15132 self.kwargs = kwargs
15133
15134
15135 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
15136 ideOS = self.ideOS
15137 dontTraceStartPatterns = self.dontTraceStartPatterns
15138 dontTraceEndPatterns = self.dontTraceEndPatterns
-
E501
Line too long (80 > 79 characters)
15139 skipSuspendOnBreakpointException = self.skipSuspendOnBreakpointException
15140 skipPrintBreakpointException = self.skipPrintBreakpointException
15141 multiThreadsSingleNotification = self.multiThreadsSingleNotification
15142 dct = {
15143 }
15144 if ideOS is not None:
15145 dct['ideOS'] = ideOS
15146 if dontTraceStartPatterns is not None:
15147 dct['dontTraceStartPatterns'] = dontTraceStartPatterns
15148 if dontTraceEndPatterns is not None:
15149 dct['dontTraceEndPatterns'] = dontTraceEndPatterns
15150 if skipSuspendOnBreakpointException is not None:
-
E501
Line too long (86 > 79 characters)
15151 dct['skipSuspendOnBreakpointException'] = skipSuspendOnBreakpointException
15152 if skipPrintBreakpointException is not None:
15153 dct['skipPrintBreakpointException'] = skipPrintBreakpointException
15154 if multiThreadsSingleNotification is not None:
-
E501
Line too long (82 > 79 characters)
15155 dct['multiThreadsSingleNotification'] = multiThreadsSingleNotification
15156 dct.update(self.kwargs)
15157 return dct
15158
15159
15160 @register_response('setDebuggerProperty')
15161 @register
15162 class SetDebuggerPropertyResponse(BaseSchema):
15163 """
-
E501
Line too long (99 > 79 characters)
15164 Response to 'setDebuggerProperty' request. This is just an acknowledgement, so no body field is
15165 required.
15166
15167 Note: automatically generated code. Do not edit manually.
15168 """
15169
15170 __props__ = {
15171 "seq": {
15172 "type": "integer",
-
E501
Line too long (155 > 79 characters)
15173 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
15174 },
15175 "type": {
15176 "type": "string",
15177 "enum": [
15178 "response"
15179 ]
15180 },
15181 "request_seq": {
15182 "type": "integer",
15183 "description": "Sequence number of the corresponding request."
15184 },
15185 "success": {
15186 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
15187 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
15188 },
15189 "command": {
15190 "type": "string",
15191 "description": "The command requested."
15192 },
15193 "message": {
15194 "type": "string",
-
E501
Line too long (201 > 79 characters)
15195 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
15196 "_enum": [
15197 "cancelled"
15198 ],
15199 "enumDescriptions": [
15200 "request was cancelled."
15201 ]
15202 },
15203 "body": {
15204 "type": [
15205 "array",
15206 "boolean",
15207 "integer",
15208 "null",
15209 "number",
15210 "object",
15211 "string"
15212 ],
-
E501
Line too long (119 > 79 characters)
15213 "description": "Contains request result if success is true and optional error details if success is false."
15214 }
15215 }
15216 __refs__ = set()
15217
15218 __slots__ = list(__props__.keys()) + ['kwargs']
15219
15220 def __init__(self, request_seq, success, command, seq=-1, message=None, body=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
15221 """
15222 :param string type:
-
E501
Line too long (81 > 79 characters)
15223 :param integer request_seq: Sequence number of the corresponding request.
15224 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
15225 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
15226 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
15227 :param string command: The command requested.
-
E501
Line too long (154 > 79 characters)
15228 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
15229 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
15230 This raw error might be interpreted by the frontend and is not shown in the UI.
15231 Some predefined values exist.
-
E501
Line too long (181 > 79 characters)
15232 :param ['array', 'boolean', 'integer', 'null', 'number', 'object', 'string'] body: Contains request result if success is true and optional error details if success is false.
15233 """
15234 self.type = 'response'
15235 self.request_seq = request_seq
15236 self.success = success
15237 self.command = command
15238 self.seq = seq
15239 self.message = message
15240 self.body = body
15241 self.kwargs = kwargs
15242
15243
15244 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
15245 type = self.type # noqa (assign to builtin)
15246 request_seq = self.request_seq
15247 success = self.success
15248 command = self.command
15249 seq = self.seq
15250 message = self.message
15251 body = self.body
15252 dct = {
15253 'type': type,
15254 'request_seq': request_seq,
15255 'success': success,
15256 'command': command,
15257 'seq': seq,
15258 }
15259 if message is not None:
15260 dct['message'] = message
15261 if body is not None:
15262 dct['body'] = body
15263 dct.update(self.kwargs)
15264 return dct
15265
15266
15267 @register_event('pydevdInputRequested')
15268 @register
15269 class PydevdInputRequestedEvent(BaseSchema):
15270 """
15271 The event indicates input was requested by debuggee.
15272
15273 Note: automatically generated code. Do not edit manually.
15274 """
15275
15276 __props__ = {
15277 "seq": {
15278 "type": "integer",
-
E501
Line too long (155 > 79 characters)
15279 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
15280 },
15281 "type": {
15282 "type": "string",
15283 "enum": [
15284 "event"
15285 ]
15286 },
15287 "event": {
15288 "type": "string",
15289 "enum": [
15290 "pydevdInputRequested"
15291 ]
15292 },
15293 "body": {
15294 "type": [
15295 "array",
15296 "boolean",
15297 "integer",
15298 "null",
15299 "number",
15300 "object",
15301 "string"
15302 ],
15303 "description": "Event-specific information."
15304 }
15305 }
15306 __refs__ = set()
15307
15308 __slots__ = list(__props__.keys()) + ['kwargs']
15309
15310 def __init__(self, seq=-1, body=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
15311 """
15312 :param string type:
15313 :param string event:
-
E501
Line too long (154 > 79 characters)
15314 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (118 > 79 characters)
15315 :param ['array', 'boolean', 'integer', 'null', 'number', 'object', 'string'] body: Event-specific information.
15316 """
15317 self.type = 'event'
15318 self.event = 'pydevdInputRequested'
15319 self.seq = seq
15320 self.body = body
15321 self.kwargs = kwargs
15322
15323
15324 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
15325 type = self.type # noqa (assign to builtin)
15326 event = self.event
15327 seq = self.seq
15328 body = self.body
15329 dct = {
15330 'type': type,
15331 'event': event,
15332 'seq': seq,
15333 }
15334 if body is not None:
15335 dct['body'] = body
15336 dct.update(self.kwargs)
15337 return dct
15338
15339
15340 @register_request('setPydevdSourceMap')
15341 @register
15342 class SetPydevdSourceMapRequest(BaseSchema):
15343 """
-
E501
Line too long (101 > 79 characters)
15344 Sets multiple PydevdSourceMap for a single source and clears all previous PydevdSourceMap in that
15345 source.
-
W293
Blank line contains whitespace
15346
-
E501
Line too long (99 > 79 characters)
15347 i.e.: Maps paths and lines in a 1:N mapping (use case: map a single file in the IDE to multiple
15348 IPython cells).
-
W293
Blank line contains whitespace
15349
15350 To clear all PydevdSourceMap for a source, specify an empty array.
-
W293
Blank line contains whitespace
15351
-
E501
Line too long (99 > 79 characters)
15352 Interaction with breakpoints: When a new mapping is sent, breakpoints that match the source (or
15353 previously matched a source) are reapplied.
-
W293
Blank line contains whitespace
15354
-
E501
Line too long (101 > 79 characters)
15355 Interaction with launch pathMapping: both mappings are independent. This mapping is applied after
15356 the launch pathMapping.
15357
15358 Note: automatically generated code. Do not edit manually.
15359 """
15360
15361 __props__ = {
15362 "seq": {
15363 "type": "integer",
-
E501
Line too long (155 > 79 characters)
15364 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
15365 },
15366 "type": {
15367 "type": "string",
15368 "enum": [
15369 "request"
15370 ]
15371 },
15372 "command": {
15373 "type": "string",
15374 "enum": [
15375 "setPydevdSourceMap"
15376 ]
15377 },
15378 "arguments": {
15379 "type": "SetPydevdSourceMapArguments"
15380 }
15381 }
15382 __refs__ = set(['arguments'])
15383
15384 __slots__ = list(__props__.keys()) + ['kwargs']
15385
15386 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
15387 """
15388 :param string type:
15389 :param string command:
15390 :param SetPydevdSourceMapArguments arguments:
-
E501
Line too long (154 > 79 characters)
15391 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
15392 """
15393 self.type = 'request'
15394 self.command = 'setPydevdSourceMap'
15395 if arguments is None:
15396 self.arguments = SetPydevdSourceMapArguments()
15397 else:
-
E501
Line too long (180 > 79 characters)
-
E222
Multiple spaces after operator
15398 self.arguments = SetPydevdSourceMapArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != SetPydevdSourceMapArguments else arguments
15399 self.seq = seq
15400 self.kwargs = kwargs
15401
15402
15403 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
15404 type = self.type # noqa (assign to builtin)
15405 command = self.command
15406 arguments = self.arguments
15407 seq = self.seq
15408 dct = {
15409 'type': type,
15410 'command': command,
-
E501
Line too long (80 > 79 characters)
15411 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
15412 'seq': seq,
15413 }
15414 dct.update(self.kwargs)
15415 return dct
15416
15417
15418 @register
15419 class SetPydevdSourceMapArguments(BaseSchema):
15420 """
15421 Arguments for 'setPydevdSourceMap' request.
15422
15423 Note: automatically generated code. Do not edit manually.
15424 """
15425
15426 __props__ = {
15427 "source": {
-
E501
Line too long (188 > 79 characters)
15428 "description": "The source location of the PydevdSourceMap; 'source.path' must be specified (e.g.: for an ipython notebook this could be something as /home/notebook/note.py).",
15429 "type": "Source"
15430 },
15431 "pydevdSourceMaps": {
15432 "type": "array",
15433 "items": {
15434 "$ref": "#/definitions/PydevdSourceMap"
15435 },
-
E501
Line too long (151 > 79 characters)
15436 "description": "The PydevdSourceMaps to be set to the given source (provide an empty array to clear the source mappings for a given path)."
15437 }
15438 }
15439 __refs__ = set(['source'])
15440
15441 __slots__ = list(__props__.keys()) + ['kwargs']
15442
15443 def __init__(self, source, pydevdSourceMaps=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
15444 """
-
E501
Line too long (188 > 79 characters)
15445 :param Source source: The source location of the PydevdSourceMap; 'source.path' must be specified (e.g.: for an ipython notebook this could be something as /home/notebook/note.py).
-
E501
Line too long (161 > 79 characters)
15446 :param array pydevdSourceMaps: The PydevdSourceMaps to be set to the given source (provide an empty array to clear the source mappings for a given path).
15447 """
15448 if source is None:
15449 self.source = Source()
15450 else:
-
E501
Line too long (126 > 79 characters)
-
E222
Multiple spaces after operator
15451 self.source = Source(update_ids_from_dap=update_ids_from_dap, **source) if source.__class__ != Source else source
15452 self.pydevdSourceMaps = pydevdSourceMaps
15453 if update_ids_from_dap and self.pydevdSourceMaps:
15454 for o in self.pydevdSourceMaps:
15455 PydevdSourceMap.update_dict_ids_from_dap(o)
15456 self.kwargs = kwargs
15457
15458
15459 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
15460 source = self.source
15461 pydevdSourceMaps = self.pydevdSourceMaps
15462 if pydevdSourceMaps and hasattr(pydevdSourceMaps[0], "to_dict"):
15463 pydevdSourceMaps = [x.to_dict() for x in pydevdSourceMaps]
15464 dct = {
15465 'source': source.to_dict(update_ids_to_dap=update_ids_to_dap),
15466 }
15467 if pydevdSourceMaps is not None:
-
E501
Line too long (173 > 79 characters)
15468 dct['pydevdSourceMaps'] = [PydevdSourceMap.update_dict_ids_to_dap(o) for o in pydevdSourceMaps] if (update_ids_to_dap and pydevdSourceMaps) else pydevdSourceMaps
15469 dct.update(self.kwargs)
15470 return dct
15471
15472
15473 @register_response('setPydevdSourceMap')
15474 @register
15475 class SetPydevdSourceMapResponse(BaseSchema):
15476 """
-
E501
Line too long (98 > 79 characters)
15477 Response to 'setPydevdSourceMap' request. This is just an acknowledgement, so no body field is
15478 required.
15479
15480 Note: automatically generated code. Do not edit manually.
15481 """
15482
15483 __props__ = {
15484 "seq": {
15485 "type": "integer",
-
E501
Line too long (155 > 79 characters)
15486 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
15487 },
15488 "type": {
15489 "type": "string",
15490 "enum": [
15491 "response"
15492 ]
15493 },
15494 "request_seq": {
15495 "type": "integer",
15496 "description": "Sequence number of the corresponding request."
15497 },
15498 "success": {
15499 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
15500 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
15501 },
15502 "command": {
15503 "type": "string",
15504 "description": "The command requested."
15505 },
15506 "message": {
15507 "type": "string",
-
E501
Line too long (201 > 79 characters)
15508 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
15509 "_enum": [
15510 "cancelled"
15511 ],
15512 "enumDescriptions": [
15513 "request was cancelled."
15514 ]
15515 },
15516 "body": {
15517 "type": [
15518 "array",
15519 "boolean",
15520 "integer",
15521 "null",
15522 "number",
15523 "object",
15524 "string"
15525 ],
-
E501
Line too long (119 > 79 characters)
15526 "description": "Contains request result if success is true and optional error details if success is false."
15527 }
15528 }
15529 __refs__ = set()
15530
15531 __slots__ = list(__props__.keys()) + ['kwargs']
15532
15533 def __init__(self, request_seq, success, command, seq=-1, message=None, body=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
15534 """
15535 :param string type:
-
E501
Line too long (81 > 79 characters)
15536 :param integer request_seq: Sequence number of the corresponding request.
15537 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
15538 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
15539 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
15540 :param string command: The command requested.
-
E501
Line too long (154 > 79 characters)
15541 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
15542 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
15543 This raw error might be interpreted by the frontend and is not shown in the UI.
15544 Some predefined values exist.
-
E501
Line too long (181 > 79 characters)
15545 :param ['array', 'boolean', 'integer', 'null', 'number', 'object', 'string'] body: Contains request result if success is true and optional error details if success is false.
15546 """
15547 self.type = 'response'
15548 self.request_seq = request_seq
15549 self.success = success
15550 self.command = command
15551 self.seq = seq
15552 self.message = message
15553 self.body = body
15554 self.kwargs = kwargs
15555
15556
15557 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
15558 type = self.type # noqa (assign to builtin)
15559 request_seq = self.request_seq
15560 success = self.success
15561 command = self.command
15562 seq = self.seq
15563 message = self.message
15564 body = self.body
15565 dct = {
15566 'type': type,
15567 'request_seq': request_seq,
15568 'success': success,
15569 'command': command,
15570 'seq': seq,
15571 }
15572 if message is not None:
15573 dct['message'] = message
15574 if body is not None:
15575 dct['body'] = body
15576 dct.update(self.kwargs)
15577 return dct
15578
15579
15580 @register
15581 class PydevdSourceMap(BaseSchema):
15582 """
15583 Information that allows mapping a local line to a remote source/line.
15584
15585 Note: automatically generated code. Do not edit manually.
15586 """
15587
15588 __props__ = {
15589 "line": {
15590 "type": "integer",
-
E501
Line too long (164 > 79 characters)
15591 "description": "The local line to which the mapping should map to (e.g.: for an ipython notebook this would be the first line of the cell in the file)."
15592 },
15593 "endLine": {
15594 "type": "integer",
15595 "description": "The end line."
15596 },
15597 "runtimeSource": {
-
E501
Line too long (187 > 79 characters)
15598 "description": "The path that the user has remotely -- 'source.path' must be specified (e.g.: for an ipython notebook this could be something as '<ipython-input-1-4561234>')",
15599 "type": "Source"
15600 },
15601 "runtimeLine": {
15602 "type": "integer",
-
E501
Line too long (169 > 79 characters)
15603 "description": "The remote line to which the mapping should map to (e.g.: for an ipython notebook this would be always 1 as it'd map the start of the cell)."
15604 }
15605 }
15606 __refs__ = set(['runtimeSource'])
15607
15608 __slots__ = list(__props__.keys()) + ['kwargs']
15609
15610 def __init__(self, line, endLine, runtimeSource, runtimeLine, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
15611 """
-
E501
Line too long (164 > 79 characters)
15612 :param integer line: The local line to which the mapping should map to (e.g.: for an ipython notebook this would be the first line of the cell in the file).
15613 :param integer endLine: The end line.
-
E501
Line too long (194 > 79 characters)
15614 :param Source runtimeSource: The path that the user has remotely -- 'source.path' must be specified (e.g.: for an ipython notebook this could be something as '<ipython-input-1-4561234>')
-
E501
Line too long (176 > 79 characters)
15615 :param integer runtimeLine: The remote line to which the mapping should map to (e.g.: for an ipython notebook this would be always 1 as it'd map the start of the cell).
15616 """
15617 self.line = line
15618 self.endLine = endLine
15619 if runtimeSource is None:
15620 self.runtimeSource = Source()
15621 else:
-
E501
Line too long (154 > 79 characters)
-
E222
Multiple spaces after operator
15622 self.runtimeSource = Source(update_ids_from_dap=update_ids_from_dap, **runtimeSource) if runtimeSource.__class__ != Source else runtimeSource
15623 self.runtimeLine = runtimeLine
15624 self.kwargs = kwargs
15625
15626
15627 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
15628 line = self.line
15629 endLine = self.endLine
15630 runtimeSource = self.runtimeSource
15631 runtimeLine = self.runtimeLine
15632 dct = {
15633 'line': line,
15634 'endLine': endLine,
-
E501
Line too long (88 > 79 characters)
15635 'runtimeSource': runtimeSource.to_dict(update_ids_to_dap=update_ids_to_dap),
15636 'runtimeLine': runtimeLine,
15637 }
15638 dct.update(self.kwargs)
15639 return dct
15640
15641
15642 @register_request('pydevdSystemInfo')
15643 @register
15644 class PydevdSystemInfoRequest(BaseSchema):
15645 """
15646 The request can be used retrieve system information, python version, etc.
15647
15648 Note: automatically generated code. Do not edit manually.
15649 """
15650
15651 __props__ = {
15652 "seq": {
15653 "type": "integer",
-
E501
Line too long (155 > 79 characters)
15654 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
15655 },
15656 "type": {
15657 "type": "string",
15658 "enum": [
15659 "request"
15660 ]
15661 },
15662 "command": {
15663 "type": "string",
15664 "enum": [
15665 "pydevdSystemInfo"
15666 ]
15667 },
15668 "arguments": {
15669 "type": "PydevdSystemInfoArguments"
15670 }
15671 }
15672 __refs__ = set(['arguments'])
15673
15674 __slots__ = list(__props__.keys()) + ['kwargs']
15675
15676 def __init__(self, seq=-1, arguments=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
15677 """
15678 :param string type:
15679 :param string command:
-
E501
Line too long (154 > 79 characters)
15680 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
15681 :param PydevdSystemInfoArguments arguments:
15682 """
15683 self.type = 'request'
15684 self.command = 'pydevdSystemInfo'
15685 self.seq = seq
15686 if arguments is None:
15687 self.arguments = PydevdSystemInfoArguments()
15688 else:
-
E501
Line too long (176 > 79 characters)
-
E222
Multiple spaces after operator
15689 self.arguments = PydevdSystemInfoArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != PydevdSystemInfoArguments else arguments
15690 self.kwargs = kwargs
15691
15692
15693 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
15694 type = self.type # noqa (assign to builtin)
15695 command = self.command
15696 seq = self.seq
15697 arguments = self.arguments
15698 dct = {
15699 'type': type,
15700 'command': command,
15701 'seq': seq,
15702 }
15703 if arguments is not None:
-
E501
Line too long (85 > 79 characters)
15704 dct['arguments'] = arguments.to_dict(update_ids_to_dap=update_ids_to_dap)
15705 dct.update(self.kwargs)
15706 return dct
15707
15708
15709 @register
15710 class PydevdSystemInfoArguments(BaseSchema):
15711 """
15712 Arguments for 'pydevdSystemInfo' request.
15713
15714 Note: automatically generated code. Do not edit manually.
15715 """
15716
15717 __props__ = {}
15718 __refs__ = set()
15719
15720 __slots__ = list(__props__.keys()) + ['kwargs']
15721
15722 def __init__(self, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
15723 """
-
W293
Blank line contains whitespace
15724
15725 """
-
W293
Blank line contains whitespace
15726
15727 self.kwargs = kwargs
15728
15729
15730 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
15731 dct = {
15732 }
15733 dct.update(self.kwargs)
15734 return dct
15735
15736
15737 @register_response('pydevdSystemInfo')
15738 @register
15739 class PydevdSystemInfoResponse(BaseSchema):
15740 """
15741 Response to 'pydevdSystemInfo' request.
15742
15743 Note: automatically generated code. Do not edit manually.
15744 """
15745
15746 __props__ = {
15747 "seq": {
15748 "type": "integer",
-
E501
Line too long (155 > 79 characters)
15749 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
15750 },
15751 "type": {
15752 "type": "string",
15753 "enum": [
15754 "response"
15755 ]
15756 },
15757 "request_seq": {
15758 "type": "integer",
15759 "description": "Sequence number of the corresponding request."
15760 },
15761 "success": {
15762 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
15763 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
15764 },
15765 "command": {
15766 "type": "string",
15767 "description": "The command requested."
15768 },
15769 "message": {
15770 "type": "string",
-
E501
Line too long (201 > 79 characters)
15771 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
15772 "_enum": [
15773 "cancelled"
15774 ],
15775 "enumDescriptions": [
15776 "request was cancelled."
15777 ]
15778 },
15779 "body": {
15780 "type": "object",
15781 "properties": {
15782 "python": {
15783 "$ref": "#/definitions/PydevdPythonInfo",
-
E501
Line too long (105 > 79 characters)
15784 "description": "Information about the python version running in the current process."
15785 },
15786 "platform": {
15787 "$ref": "#/definitions/PydevdPlatformInfo",
-
E501
Line too long (108 > 79 characters)
15788 "description": "Information about the plarforn on which the current process is running."
15789 },
15790 "process": {
15791 "$ref": "#/definitions/PydevdProcessInfo",
15792 "description": "Information about the current process."
15793 },
15794 "pydevd": {
15795 "$ref": "#/definitions/PydevdInfo",
15796 "description": "Information about pydevd."
15797 }
15798 },
15799 "required": [
15800 "python",
15801 "platform",
15802 "process",
15803 "pydevd"
15804 ]
15805 }
15806 }
15807 __refs__ = set(['body'])
15808
15809 __slots__ = list(__props__.keys()) + ['kwargs']
15810
15811 def __init__(self, request_seq, success, command, body, seq=-1, message=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
15812 """
15813 :param string type:
-
E501
Line too long (81 > 79 characters)
15814 :param integer request_seq: Sequence number of the corresponding request.
15815 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
15816 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
15817 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
15818 :param string command: The command requested.
15819 :param PydevdSystemInfoResponseBody body:
-
E501
Line too long (154 > 79 characters)
15820 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
15821 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
15822 This raw error might be interpreted by the frontend and is not shown in the UI.
15823 Some predefined values exist.
15824 """
15825 self.type = 'response'
15826 self.request_seq = request_seq
15827 self.success = success
15828 self.command = command
15829 if body is None:
15830 self.body = PydevdSystemInfoResponseBody()
15831 else:
-
E501
Line too long (162 > 79 characters)
-
E222
Multiple spaces after operator
15832 self.body = PydevdSystemInfoResponseBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != PydevdSystemInfoResponseBody else body
15833 self.seq = seq
15834 self.message = message
15835 self.kwargs = kwargs
15836
15837
15838 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
15839 type = self.type # noqa (assign to builtin)
15840 request_seq = self.request_seq
15841 success = self.success
15842 command = self.command
15843 body = self.body
15844 seq = self.seq
15845 message = self.message
15846 dct = {
15847 'type': type,
15848 'request_seq': request_seq,
15849 'success': success,
15850 'command': command,
15851 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
15852 'seq': seq,
15853 }
15854 if message is not None:
15855 dct['message'] = message
15856 dct.update(self.kwargs)
15857 return dct
15858
15859
15860 @register
15861 class PydevdPythonInfo(BaseSchema):
15862 """
15863 This object contains python version and implementation details.
15864
15865 Note: automatically generated code. Do not edit manually.
15866 """
15867
15868 __props__ = {
15869 "version": {
15870 "type": "string",
-
E501
Line too long (120 > 79 characters)
15871 "description": "Python version as a string in semver format: <major>.<minor>.<micro><releaselevel><serial>."
15872 },
15873 "implementation": {
-
E501
Line too long (118 > 79 characters)
15874 "description": "Python version as a string in this format <major>.<minor>.<micro><releaselevel><serial>.",
15875 "type": "PydevdPythonImplementationInfo"
15876 }
15877 }
15878 __refs__ = set(['implementation'])
15879
15880 __slots__ = list(__props__.keys()) + ['kwargs']
15881
15882 def __init__(self, version=None, implementation=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
15883 """
-
E501
Line too long (122 > 79 characters)
15884 :param string version: Python version as a string in semver format: <major>.<minor>.<micro><releaselevel><serial>.
-
E501
Line too long (150 > 79 characters)
15885 :param PydevdPythonImplementationInfo implementation: Python version as a string in this format <major>.<minor>.<micro><releaselevel><serial>.
15886 """
15887 self.version = version
15888 if implementation is None:
15889 self.implementation = PydevdPythonImplementationInfo()
15890 else:
-
E501
Line too long (206 > 79 characters)
-
E222
Multiple spaces after operator
15891 self.implementation = PydevdPythonImplementationInfo(update_ids_from_dap=update_ids_from_dap, **implementation) if implementation.__class__ != PydevdPythonImplementationInfo else implementation
15892 self.kwargs = kwargs
15893
15894
15895 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
15896 version = self.version
15897 implementation = self.implementation
15898 dct = {
15899 }
15900 if version is not None:
15901 dct['version'] = version
15902 if implementation is not None:
-
E501
Line too long (95 > 79 characters)
15903 dct['implementation'] = implementation.to_dict(update_ids_to_dap=update_ids_to_dap)
15904 dct.update(self.kwargs)
15905 return dct
15906
15907
15908 @register
15909 class PydevdPythonImplementationInfo(BaseSchema):
15910 """
15911 This object contains python implementation details.
15912
15913 Note: automatically generated code. Do not edit manually.
15914 """
15915
15916 __props__ = {
15917 "name": {
15918 "type": "string",
15919 "description": "Python implementation name."
15920 },
15921 "version": {
15922 "type": "string",
-
E501
Line too long (120 > 79 characters)
15923 "description": "Python version as a string in semver format: <major>.<minor>.<micro><releaselevel><serial>."
15924 },
15925 "description": {
15926 "type": "string",
-
E501
Line too long (81 > 79 characters)
15927 "description": "Optional description for this python implementation."
15928 }
15929 }
15930 __refs__ = set()
15931
15932 __slots__ = list(__props__.keys()) + ['kwargs']
15933
15934 def __init__(self, name=None, version=None, description=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
15935 """
15936 :param string name: Python implementation name.
-
E501
Line too long (122 > 79 characters)
15937 :param string version: Python version as a string in semver format: <major>.<minor>.<micro><releaselevel><serial>.
-
E501
Line too long (87 > 79 characters)
15938 :param string description: Optional description for this python implementation.
15939 """
15940 self.name = name
15941 self.version = version
15942 self.description = description
15943 self.kwargs = kwargs
15944
15945
15946 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
15947 name = self.name
15948 version = self.version
15949 description = self.description
15950 dct = {
15951 }
15952 if name is not None:
15953 dct['name'] = name
15954 if version is not None:
15955 dct['version'] = version
15956 if description is not None:
15957 dct['description'] = description
15958 dct.update(self.kwargs)
15959 return dct
15960
15961
15962 @register
15963 class PydevdPlatformInfo(BaseSchema):
15964 """
15965 This object contains python version and implementation details.
15966
15967 Note: automatically generated code. Do not edit manually.
15968 """
15969
15970 __props__ = {
15971 "name": {
15972 "type": "string",
-
E501
Line too long (80 > 79 characters)
15973 "description": "Name of the platform as returned by 'sys.platform'."
15974 }
15975 }
15976 __refs__ = set()
15977
15978 __slots__ = list(__props__.keys()) + ['kwargs']
15979
15980 def __init__(self, name=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
15981 """
15982 :param string name: Name of the platform as returned by 'sys.platform'.
15983 """
15984 self.name = name
15985 self.kwargs = kwargs
15986
15987
15988 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
15989 name = self.name
15990 dct = {
15991 }
15992 if name is not None:
15993 dct['name'] = name
15994 dct.update(self.kwargs)
15995 return dct
15996
15997
15998 @register
15999 class PydevdProcessInfo(BaseSchema):
16000 """
16001 This object contains python process details.
16002
16003 Note: automatically generated code. Do not edit manually.
16004 """
16005
16006 __props__ = {
16007 "pid": {
16008 "type": "integer",
16009 "description": "Process ID for the current process."
16010 },
16011 "ppid": {
16012 "type": "integer",
16013 "description": "Parent Process ID for the current process."
16014 },
16015 "executable": {
16016 "type": "string",
-
E501
Line too long (84 > 79 characters)
16017 "description": "Path to the executable as returned by 'sys.executable'."
16018 },
16019 "bitness": {
16020 "type": "integer",
-
E501
Line too long (89 > 79 characters)
16021 "description": "Integer value indicating the bitness of the current process."
16022 }
16023 }
16024 __refs__ = set()
16025
16026 __slots__ = list(__props__.keys()) + ['kwargs']
16027
16028 def __init__(self, pid=None, ppid=None, executable=None, bitness=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
16029 """
16030 :param integer pid: Process ID for the current process.
16031 :param integer ppid: Parent Process ID for the current process.
-
E501
Line too long (89 > 79 characters)
16032 :param string executable: Path to the executable as returned by 'sys.executable'.
-
E501
Line too long (92 > 79 characters)
16033 :param integer bitness: Integer value indicating the bitness of the current process.
16034 """
16035 self.pid = pid
16036 self.ppid = ppid
16037 self.executable = executable
16038 self.bitness = bitness
16039 self.kwargs = kwargs
16040
16041
16042 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
16043 pid = self.pid
16044 ppid = self.ppid
16045 executable = self.executable
16046 bitness = self.bitness
16047 dct = {
16048 }
16049 if pid is not None:
16050 dct['pid'] = pid
16051 if ppid is not None:
16052 dct['ppid'] = ppid
16053 if executable is not None:
16054 dct['executable'] = executable
16055 if bitness is not None:
16056 dct['bitness'] = bitness
16057 dct.update(self.kwargs)
16058 return dct
16059
16060
16061 @register
16062 class PydevdInfo(BaseSchema):
16063 """
16064 This object contains details on pydevd.
16065
16066 Note: automatically generated code. Do not edit manually.
16067 """
16068
16069 __props__ = {
16070 "usingCython": {
16071 "type": "boolean",
-
E501
Line too long (86 > 79 characters)
16072 "description": "Specifies whether the cython native module is being used."
16073 },
16074 "usingFrameEval": {
16075 "type": "boolean",
-
E501
Line too long (90 > 79 characters)
16076 "description": "Specifies whether the frame eval native module is being used."
16077 }
16078 }
16079 __refs__ = set()
16080
16081 __slots__ = list(__props__.keys()) + ['kwargs']
16082
16083 def __init__(self, usingCython=None, usingFrameEval=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
16084 """
-
E501
Line too long (93 > 79 characters)
16085 :param boolean usingCython: Specifies whether the cython native module is being used.
-
E501
Line too long (100 > 79 characters)
16086 :param boolean usingFrameEval: Specifies whether the frame eval native module is being used.
16087 """
16088 self.usingCython = usingCython
16089 self.usingFrameEval = usingFrameEval
16090 self.kwargs = kwargs
16091
16092
16093 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
16094 usingCython = self.usingCython
16095 usingFrameEval = self.usingFrameEval
16096 dct = {
16097 }
16098 if usingCython is not None:
16099 dct['usingCython'] = usingCython
16100 if usingFrameEval is not None:
16101 dct['usingFrameEval'] = usingFrameEval
16102 dct.update(self.kwargs)
16103 return dct
16104
16105
16106 @register_request('pydevdAuthorize')
16107 @register
16108 class PydevdAuthorizeRequest(BaseSchema):
16109 """
16110 A request to authorize the ide to start accepting commands.
16111
16112 Note: automatically generated code. Do not edit manually.
16113 """
16114
16115 __props__ = {
16116 "seq": {
16117 "type": "integer",
-
E501
Line too long (155 > 79 characters)
16118 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
16119 },
16120 "type": {
16121 "type": "string",
16122 "enum": [
16123 "request"
16124 ]
16125 },
16126 "command": {
16127 "type": "string",
16128 "enum": [
16129 "pydevdAuthorize"
16130 ]
16131 },
16132 "arguments": {
16133 "type": "PydevdAuthorizeArguments"
16134 }
16135 }
16136 __refs__ = set(['arguments'])
16137
16138 __slots__ = list(__props__.keys()) + ['kwargs']
16139
16140 def __init__(self, arguments, seq=-1, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
16141 """
16142 :param string type:
16143 :param string command:
16144 :param PydevdAuthorizeArguments arguments:
-
E501
Line too long (154 > 79 characters)
16145 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
16146 """
16147 self.type = 'request'
16148 self.command = 'pydevdAuthorize'
16149 if arguments is None:
16150 self.arguments = PydevdAuthorizeArguments()
16151 else:
-
E501
Line too long (174 > 79 characters)
-
E222
Multiple spaces after operator
16152 self.arguments = PydevdAuthorizeArguments(update_ids_from_dap=update_ids_from_dap, **arguments) if arguments.__class__ != PydevdAuthorizeArguments else arguments
16153 self.seq = seq
16154 self.kwargs = kwargs
16155
16156
16157 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
16158 type = self.type # noqa (assign to builtin)
16159 command = self.command
16160 arguments = self.arguments
16161 seq = self.seq
16162 dct = {
16163 'type': type,
16164 'command': command,
-
E501
Line too long (80 > 79 characters)
16165 'arguments': arguments.to_dict(update_ids_to_dap=update_ids_to_dap),
16166 'seq': seq,
16167 }
16168 dct.update(self.kwargs)
16169 return dct
16170
16171
16172 @register
16173 class PydevdAuthorizeArguments(BaseSchema):
16174 """
16175 Arguments for 'pydevdAuthorize' request.
16176
16177 Note: automatically generated code. Do not edit manually.
16178 """
16179
16180 __props__ = {
16181 "debugServerAccessToken": {
16182 "type": "string",
16183 "description": "The access token to access the debug server."
16184 }
16185 }
16186 __refs__ = set()
16187
16188 __slots__ = list(__props__.keys()) + ['kwargs']
16189
16190 def __init__(self, debugServerAccessToken=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
16191 """
-
E501
Line too long (90 > 79 characters)
16192 :param string debugServerAccessToken: The access token to access the debug server.
16193 """
16194 self.debugServerAccessToken = debugServerAccessToken
16195 self.kwargs = kwargs
16196
16197
16198 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
16199 debugServerAccessToken = self.debugServerAccessToken
16200 dct = {
16201 }
16202 if debugServerAccessToken is not None:
16203 dct['debugServerAccessToken'] = debugServerAccessToken
16204 dct.update(self.kwargs)
16205 return dct
16206
16207
16208 @register_response('pydevdAuthorize')
16209 @register
16210 class PydevdAuthorizeResponse(BaseSchema):
16211 """
16212 Response to 'pydevdAuthorize' request.
16213
16214 Note: automatically generated code. Do not edit manually.
16215 """
16216
16217 __props__ = {
16218 "seq": {
16219 "type": "integer",
-
E501
Line too long (155 > 79 characters)
16220 "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request."
16221 },
16222 "type": {
16223 "type": "string",
16224 "enum": [
16225 "response"
16226 ]
16227 },
16228 "request_seq": {
16229 "type": "integer",
16230 "description": "Sequence number of the corresponding request."
16231 },
16232 "success": {
16233 "type": "boolean",
-
E501
Line too long (318 > 79 characters)
16234 "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')."
16235 },
16236 "command": {
16237 "type": "string",
16238 "description": "The command requested."
16239 },
16240 "message": {
16241 "type": "string",
-
E501
Line too long (201 > 79 characters)
16242 "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.",
16243 "_enum": [
16244 "cancelled"
16245 ],
16246 "enumDescriptions": [
16247 "request was cancelled."
16248 ]
16249 },
16250 "body": {
16251 "type": "object",
16252 "properties": {
16253 "clientAccessToken": {
16254 "type": "string",
-
E501
Line too long (99 > 79 characters)
16255 "description": "The access token to access the client (i.e.: usually the IDE)."
16256 }
16257 },
16258 "required": [
16259 "clientAccessToken"
16260 ]
16261 }
16262 }
16263 __refs__ = set(['body'])
16264
16265 __slots__ = list(__props__.keys()) + ['kwargs']
16266
16267 def __init__(self, request_seq, success, command, body, seq=-1, message=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
16268 """
16269 :param string type:
-
E501
Line too long (81 > 79 characters)
16270 :param integer request_seq: Sequence number of the corresponding request.
16271 :param boolean success: Outcome of the request.
-
E501
Line too long (107 > 79 characters)
16272 If true, the request was successful and the 'body' attribute may contain the result of the request.
-
E501
Line too long (171 > 79 characters)
16273 If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').
16274 :param string command: The command requested.
16275 :param PydevdAuthorizeResponseBody body:
-
E501
Line too long (154 > 79 characters)
16276 :param integer seq: Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.
-
E501
Line too long (90 > 79 characters)
16277 :param string message: Contains the raw error in short form if 'success' is false.
-
E501
Line too long (87 > 79 characters)
16278 This raw error might be interpreted by the frontend and is not shown in the UI.
16279 Some predefined values exist.
16280 """
16281 self.type = 'response'
16282 self.request_seq = request_seq
16283 self.success = success
16284 self.command = command
16285 if body is None:
16286 self.body = PydevdAuthorizeResponseBody()
16287 else:
-
E501
Line too long (160 > 79 characters)
-
E222
Multiple spaces after operator
16288 self.body = PydevdAuthorizeResponseBody(update_ids_from_dap=update_ids_from_dap, **body) if body.__class__ != PydevdAuthorizeResponseBody else body
16289 self.seq = seq
16290 self.message = message
16291 self.kwargs = kwargs
16292
16293
16294 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
16295 type = self.type # noqa (assign to builtin)
16296 request_seq = self.request_seq
16297 success = self.success
16298 command = self.command
16299 body = self.body
16300 seq = self.seq
16301 message = self.message
16302 dct = {
16303 'type': type,
16304 'request_seq': request_seq,
16305 'success': success,
16306 'command': command,
16307 'body': body.to_dict(update_ids_to_dap=update_ids_to_dap),
16308 'seq': seq,
16309 }
16310 if message is not None:
16311 dct['message'] = message
16312 dct.update(self.kwargs)
16313 return dct
16314
16315
16316 @register
16317 class ErrorResponseBody(BaseSchema):
16318 """
16319 "body" of ErrorResponse
16320
16321 Note: automatically generated code. Do not edit manually.
16322 """
16323
16324 __props__ = {
16325 "error": {
16326 "description": "An optional, structured error message.",
16327 "type": "Message"
16328 }
16329 }
16330 __refs__ = set(['error'])
16331
16332 __slots__ = list(__props__.keys()) + ['kwargs']
16333
16334 def __init__(self, error=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
16335 """
16336 :param Message error: An optional, structured error message.
16337 """
16338 if error is None:
16339 self.error = Message()
16340 else:
-
E501
Line too long (124 > 79 characters)
-
E222
Multiple spaces after operator
16341 self.error = Message(update_ids_from_dap=update_ids_from_dap, **error) if error.__class__ != Message else error
16342 self.kwargs = kwargs
16343
16344
16345 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
16346 error = self.error
16347 dct = {
16348 }
16349 if error is not None:
16350 dct['error'] = error.to_dict(update_ids_to_dap=update_ids_to_dap)
16351 dct.update(self.kwargs)
16352 return dct
16353
16354
16355 @register
16356 class StoppedEventBody(BaseSchema):
16357 """
16358 "body" of StoppedEvent
16359
16360 Note: automatically generated code. Do not edit manually.
16361 """
16362
16363 __props__ = {
16364 "reason": {
16365 "type": "string",
-
E501
Line too long (189 > 79 characters)
16366 "description": "The reason for the event.\nFor backward compatibility this string is shown in the UI if the 'description' attribute is missing (but it must not be translated).",
16367 "_enum": [
16368 "step",
16369 "breakpoint",
16370 "exception",
16371 "pause",
16372 "entry",
16373 "goto",
16374 "function breakpoint",
16375 "data breakpoint",
16376 "instruction breakpoint"
16377 ]
16378 },
16379 "description": {
16380 "type": "string",
-
E501
Line too long (148 > 79 characters)
16381 "description": "The full reason for the event, e.g. 'Paused on exception'. This string is shown in the UI as is and must be translated."
16382 },
16383 "threadId": {
16384 "type": "integer",
16385 "description": "The thread which was stopped."
16386 },
16387 "preserveFocusHint": {
16388 "type": "boolean",
-
E501
Line too long (111 > 79 characters)
16389 "description": "A value of true hints to the frontend that this event should not change the focus."
16390 },
16391 "text": {
16392 "type": "string",
-
E501
Line too long (149 > 79 characters)
16393 "description": "Additional information. E.g. if reason is 'exception', text contains the exception name. This string is shown in the UI."
16394 },
16395 "allThreadsStopped": {
16396 "type": "boolean",
-
E501
Line too long (332 > 79 characters)
16397 "description": "If 'allThreadsStopped' is true, a debug adapter can announce that all threads have stopped.\n- The client should use this information to enable that all threads can be expanded to access their stacktraces.\n- If the attribute is missing or false, only the thread with the given threadId can be expanded."
16398 }
16399 }
16400 __refs__ = set()
16401
16402 __slots__ = list(__props__.keys()) + ['kwargs']
16403
16404 def __init__(self, reason, description=None, threadId=None, preserveFocusHint=None, text=None, allThreadsStopped=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
16405 """
16406 :param string reason: The reason for the event.
-
E501
Line too long (140 > 79 characters)
16407 For backward compatibility this string is shown in the UI if the 'description' attribute is missing (but it must not be translated).
-
E501
Line too long (154 > 79 characters)
16408 :param string description: The full reason for the event, e.g. 'Paused on exception'. This string is shown in the UI as is and must be translated.
16409 :param integer threadId: The thread which was stopped.
-
E501
Line too long (124 > 79 characters)
16410 :param boolean preserveFocusHint: A value of true hints to the frontend that this event should not change the focus.
-
E501
Line too long (148 > 79 characters)
16411 :param string text: Additional information. E.g. if reason is 'exception', text contains the exception name. This string is shown in the UI.
-
E501
Line too long (133 > 79 characters)
16412 :param boolean allThreadsStopped: If 'allThreadsStopped' is true, a debug adapter can announce that all threads have stopped.
-
E501
Line too long (120 > 79 characters)
16413 - The client should use this information to enable that all threads can be expanded to access their stacktraces.
-
E501
Line too long (104 > 79 characters)
16414 - If the attribute is missing or false, only the thread with the given threadId can be expanded.
16415 """
16416 self.reason = reason
16417 self.description = description
16418 self.threadId = threadId
16419 self.preserveFocusHint = preserveFocusHint
16420 self.text = text
16421 self.allThreadsStopped = allThreadsStopped
16422 if update_ids_from_dap:
16423 self.threadId = self._translate_id_from_dap(self.threadId)
16424 self.kwargs = kwargs
-
W293
Blank line contains whitespace
16425
-
W293
Blank line contains whitespace
16426
-
E303
Too many blank lines (2)
16427 @classmethod
16428 def update_dict_ids_from_dap(cls, dct):
16429 if 'threadId' in dct:
16430 dct['threadId'] = cls._translate_id_from_dap(dct['threadId'])
16431 return dct
16432
16433 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
16434 reason = self.reason
16435 description = self.description
16436 threadId = self.threadId
16437 preserveFocusHint = self.preserveFocusHint
16438 text = self.text
16439 allThreadsStopped = self.allThreadsStopped
16440 if update_ids_to_dap:
16441 if threadId is not None:
16442 threadId = self._translate_id_to_dap(threadId)
16443 dct = {
16444 'reason': reason,
16445 }
16446 if description is not None:
16447 dct['description'] = description
16448 if threadId is not None:
16449 dct['threadId'] = threadId
16450 if preserveFocusHint is not None:
16451 dct['preserveFocusHint'] = preserveFocusHint
16452 if text is not None:
16453 dct['text'] = text
16454 if allThreadsStopped is not None:
16455 dct['allThreadsStopped'] = allThreadsStopped
16456 dct.update(self.kwargs)
-
W293
Blank line contains whitespace
16458
16459 @classmethod
16460 def update_dict_ids_to_dap(cls, dct):
16461 if 'threadId' in dct:
16462 dct['threadId'] = cls._translate_id_to_dap(dct['threadId'])
16463 return dct
16464
16465
16466 @register
16467 class ContinuedEventBody(BaseSchema):
16468 """
16469 "body" of ContinuedEvent
16470
16471 Note: automatically generated code. Do not edit manually.
16472 """
16473
16474 __props__ = {
16475 "threadId": {
16476 "type": "integer",
16477 "description": "The thread which was continued."
16478 },
16479 "allThreadsContinued": {
16480 "type": "boolean",
-
E501
Line too long (124 > 79 characters)
16481 "description": "If 'allThreadsContinued' is true, a debug adapter can announce that all threads have continued."
16482 }
16483 }
16484 __refs__ = set()
16485
16486 __slots__ = list(__props__.keys()) + ['kwargs']
16487
16488 def __init__(self, threadId, allThreadsContinued=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
16489 """
16490 :param integer threadId: The thread which was continued.
-
E501
Line too long (139 > 79 characters)
16491 :param boolean allThreadsContinued: If 'allThreadsContinued' is true, a debug adapter can announce that all threads have continued.
16492 """
16493 self.threadId = threadId
16494 self.allThreadsContinued = allThreadsContinued
16495 if update_ids_from_dap:
16496 self.threadId = self._translate_id_from_dap(self.threadId)
16497 self.kwargs = kwargs
-
W293
Blank line contains whitespace
16498
-
W293
Blank line contains whitespace
16499
-
E303
Too many blank lines (2)
16500 @classmethod
16501 def update_dict_ids_from_dap(cls, dct):
16502 if 'threadId' in dct:
16503 dct['threadId'] = cls._translate_id_from_dap(dct['threadId'])
16504 return dct
16505
16506 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
16507 threadId = self.threadId
16508 allThreadsContinued = self.allThreadsContinued
16509 if update_ids_to_dap:
16510 if threadId is not None:
16511 threadId = self._translate_id_to_dap(threadId)
16512 dct = {
16513 'threadId': threadId,
16514 }
16515 if allThreadsContinued is not None:
16516 dct['allThreadsContinued'] = allThreadsContinued
16517 dct.update(self.kwargs)
-
W293
Blank line contains whitespace
16519
16520 @classmethod
16521 def update_dict_ids_to_dap(cls, dct):
16522 if 'threadId' in dct:
16523 dct['threadId'] = cls._translate_id_to_dap(dct['threadId'])
16524 return dct
16525
16526
16527 @register
16528 class ExitedEventBody(BaseSchema):
16529 """
16530 "body" of ExitedEvent
16531
16532 Note: automatically generated code. Do not edit manually.
16533 """
16534
16535 __props__ = {
16536 "exitCode": {
16537 "type": "integer",
16538 "description": "The exit code returned from the debuggee."
16539 }
16540 }
16541 __refs__ = set()
16542
16543 __slots__ = list(__props__.keys()) + ['kwargs']
16544
16545 def __init__(self, exitCode, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
16546 """
16547 :param integer exitCode: The exit code returned from the debuggee.
16548 """
16549 self.exitCode = exitCode
16550 self.kwargs = kwargs
16551
16552
16553 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
16554 exitCode = self.exitCode
16555 dct = {
16556 'exitCode': exitCode,
16557 }
16558 dct.update(self.kwargs)
16559 return dct
16560
16561
16562 @register
16563 class TerminatedEventBody(BaseSchema):
16564 """
16565 "body" of TerminatedEvent
16566
16567 Note: automatically generated code. Do not edit manually.
16568 """
16569
16570 __props__ = {
16571 "restart": {
16572 "type": [
16573 "array",
16574 "boolean",
16575 "integer",
16576 "null",
16577 "number",
16578 "object",
16579 "string"
16580 ],
-
E501
Line too long (283 > 79 characters)
16581 "description": "A debug adapter may set 'restart' to true (or to an arbitrary object) to request that the front end restarts the session.\nThe value is not interpreted by the client and passed unmodified as an attribute '__restart' to the 'launch' and 'attach' requests."
16582 }
16583 }
16584 __refs__ = set()
16585
16586 __slots__ = list(__props__.keys()) + ['kwargs']
16587
16588 def __init__(self, restart=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
16589 """
-
E501
Line too long (215 > 79 characters)
16590 :param ['array', 'boolean', 'integer', 'null', 'number', 'object', 'string'] restart: A debug adapter may set 'restart' to true (or to an arbitrary object) to request that the front end restarts the session.
-
E501
Line too long (139 > 79 characters)
16591 The value is not interpreted by the client and passed unmodified as an attribute '__restart' to the 'launch' and 'attach' requests.
16592 """
16593 self.restart = restart
16594 self.kwargs = kwargs
16595
16596
16597 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
16598 restart = self.restart
16599 dct = {
16600 }
16601 if restart is not None:
16602 dct['restart'] = restart
16603 dct.update(self.kwargs)
16604 return dct
16605
16606
16607 @register
16608 class ThreadEventBody(BaseSchema):
16609 """
16610 "body" of ThreadEvent
16611
16612 Note: automatically generated code. Do not edit manually.
16613 """
16614
16615 __props__ = {
16616 "reason": {
16617 "type": "string",
16618 "description": "The reason for the event.",
16619 "_enum": [
16620 "started",
16621 "exited"
16622 ]
16623 },
16624 "threadId": {
16625 "type": "integer",
16626 "description": "The identifier of the thread."
16627 }
16628 }
16629 __refs__ = set()
16630
16631 __slots__ = list(__props__.keys()) + ['kwargs']
16632
16633 def __init__(self, reason, threadId, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
16634 """
16635 :param string reason: The reason for the event.
16636 :param integer threadId: The identifier of the thread.
16637 """
16638 self.reason = reason
16639 self.threadId = threadId
16640 if update_ids_from_dap:
16641 self.threadId = self._translate_id_from_dap(self.threadId)
16642 self.kwargs = kwargs
-
W293
Blank line contains whitespace
16643
-
W293
Blank line contains whitespace
16644
-
E303
Too many blank lines (2)
16645 @classmethod
16646 def update_dict_ids_from_dap(cls, dct):
16647 if 'threadId' in dct:
16648 dct['threadId'] = cls._translate_id_from_dap(dct['threadId'])
16649 return dct
16650
16651 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
16652 reason = self.reason
16653 threadId = self.threadId
16654 if update_ids_to_dap:
16655 if threadId is not None:
16656 threadId = self._translate_id_to_dap(threadId)
16657 dct = {
16658 'reason': reason,
16659 'threadId': threadId,
16660 }
16661 dct.update(self.kwargs)
-
W293
Blank line contains whitespace
16663
16664 @classmethod
16665 def update_dict_ids_to_dap(cls, dct):
16666 if 'threadId' in dct:
16667 dct['threadId'] = cls._translate_id_to_dap(dct['threadId'])
16668 return dct
16669
16670
16671 @register
16672 class OutputEventBody(BaseSchema):
16673 """
16674 "body" of OutputEvent
16675
16676 Note: automatically generated code. Do not edit manually.
16677 """
16678
16679 __props__ = {
16680 "category": {
16681 "type": "string",
-
E501
Line too long (90 > 79 characters)
16682 "description": "The output category. If not specified, 'console' is assumed.",
16683 "_enum": [
16684 "console",
16685 "stdout",
16686 "stderr",
16687 "telemetry"
16688 ]
16689 },
16690 "output": {
16691 "type": "string",
16692 "description": "The output to report."
16693 },
16694 "group": {
16695 "type": "string",
-
E501
Line too long (103 > 79 characters)
16696 "description": "Support for keeping an output log organized by grouping related messages.",
16697 "enum": [
16698 "start",
16699 "startCollapsed",
16700 "end"
16701 ],
16702 "enumDescriptions": [
-
E501
Line too long (209 > 79 characters)
16703 "Start a new group in expanded mode. Subsequent output events are members of the group and should be shown indented.\nThe 'output' attribute becomes the name of the group and is not indented.",
-
E501
Line too long (245 > 79 characters)
16704 "Start a new group in collapsed mode. Subsequent output events are members of the group and should be shown indented (as soon as the group is expanded).\nThe 'output' attribute becomes the name of the group and is not indented.",
-
E501
Line too long (175 > 79 characters)
16705 "End the current group and decreases the indentation of subsequent output events.\nA non empty 'output' attribute is shown as the unindented end of the group."
16706 ]
16707 },
16708 "variablesReference": {
16709 "type": "integer",
-
E501
Line too long (268 > 79 characters)
16710 "description": "If an attribute 'variablesReference' exists and its value is > 0, the output contains objects which can be retrieved by passing 'variablesReference' to the 'variables' request. The value should be less than or equal to 2147483647 (2^31-1)."
16711 },
16712 "source": {
-
E501
Line too long (88 > 79 characters)
16713 "description": "An optional source location where the output was produced.",
16714 "type": "Source"
16715 },
16716 "line": {
16717 "type": "integer",
-
E501
Line too long (92 > 79 characters)
16718 "description": "An optional source location line where the output was produced."
16719 },
16720 "column": {
16721 "type": "integer",
-
E501
Line too long (94 > 79 characters)
16722 "description": "An optional source location column where the output was produced."
16723 },
16724 "data": {
16725 "type": [
16726 "array",
16727 "boolean",
16728 "integer",
16729 "null",
16730 "number",
16731 "object",
16732 "string"
16733 ],
-
E501
Line too long (177 > 79 characters)
16734 "description": "Optional data to report. For the 'telemetry' category the data will be sent to telemetry, for the other categories the data is shown in JSON format."
16735 }
16736 }
16737 __refs__ = set(['source'])
16738
16739 __slots__ = list(__props__.keys()) + ['kwargs']
16740
16741 def __init__(self, output, category=None, group=None, variablesReference=None, source=None, line=None, column=None, data=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
16742 """
16743 :param string output: The output to report.
-
E501
Line too long (92 > 79 characters)
16744 :param string category: The output category. If not specified, 'console' is assumed.
-
E501
Line too long (102 > 79 characters)
16745 :param string group: Support for keeping an output log organized by grouping related messages.
-
E501
Line too long (282 > 79 characters)
16746 :param integer variablesReference: If an attribute 'variablesReference' exists and its value is > 0, the output contains objects which can be retrieved by passing 'variablesReference' to the 'variables' request. The value should be less than or equal to 2147483647 (2^31-1).
-
E501
Line too long (88 > 79 characters)
16747 :param Source source: An optional source location where the output was produced.
-
E501
Line too long (92 > 79 characters)
16748 :param integer line: An optional source location line where the output was produced.
-
E501
Line too long (96 > 79 characters)
16749 :param integer column: An optional source location column where the output was produced.
-
E501
Line too long (239 > 79 characters)
16750 :param ['array', 'boolean', 'integer', 'null', 'number', 'object', 'string'] data: Optional data to report. For the 'telemetry' category the data will be sent to telemetry, for the other categories the data is shown in JSON format.
16751 """
16752 self.output = output
16753 self.category = category
16754 self.group = group
16755 self.variablesReference = variablesReference
16756 if source is None:
16757 self.source = Source()
16758 else:
-
E501
Line too long (126 > 79 characters)
-
E222
Multiple spaces after operator
16759 self.source = Source(update_ids_from_dap=update_ids_from_dap, **source) if source.__class__ != Source else source
16760 self.line = line
16761 self.column = column
16762 self.data = data
16763 if update_ids_from_dap:
-
E501
Line too long (90 > 79 characters)
16764 self.variablesReference = self._translate_id_from_dap(self.variablesReference)
16765 self.kwargs = kwargs
-
W293
Blank line contains whitespace
16766
-
W293
Blank line contains whitespace
16767
-
E303
Too many blank lines (2)
16768 @classmethod
16769 def update_dict_ids_from_dap(cls, dct):
16770 if 'variablesReference' in dct:
-
E501
Line too long (93 > 79 characters)
16771 dct['variablesReference'] = cls._translate_id_from_dap(dct['variablesReference'])
16772 return dct
16773
16774 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
16775 output = self.output
16776 category = self.category
16777 group = self.group
16778 variablesReference = self.variablesReference
16779 source = self.source
16780 line = self.line
16781 column = self.column
16782 data = self.data
16783 if update_ids_to_dap:
16784 if variablesReference is not None:
-
E501
Line too long (82 > 79 characters)
16785 variablesReference = self._translate_id_to_dap(variablesReference)
16786 dct = {
16787 'output': output,
16788 }
16789 if category is not None:
16790 dct['category'] = category
16791 if group is not None:
16792 dct['group'] = group
16793 if variablesReference is not None:
16794 dct['variablesReference'] = variablesReference
16795 if source is not None:
16796 dct['source'] = source.to_dict(update_ids_to_dap=update_ids_to_dap)
16797 if line is not None:
16798 dct['line'] = line
16799 if column is not None:
16800 dct['column'] = column
16801 if data is not None:
16802 dct['data'] = data
16803 dct.update(self.kwargs)
-
W293
Blank line contains whitespace
16805
16806 @classmethod
16807 def update_dict_ids_to_dap(cls, dct):
16808 if 'variablesReference' in dct:
-
E501
Line too long (91 > 79 characters)
16809 dct['variablesReference'] = cls._translate_id_to_dap(dct['variablesReference'])
16810 return dct
16811
16812
16813 @register
16814 class BreakpointEventBody(BaseSchema):
16815 """
16816 "body" of BreakpointEvent
16817
16818 Note: automatically generated code. Do not edit manually.
16819 """
16820
16821 __props__ = {
16822 "reason": {
16823 "type": "string",
16824 "description": "The reason for the event.",
16825 "_enum": [
16826 "changed",
16827 "new",
16828 "removed"
16829 ]
16830 },
16831 "breakpoint": {
-
E501
Line too long (139 > 79 characters)
16832 "description": "The 'id' attribute is used to find the target breakpoint and the other attributes are used as the new values.",
16833 "type": "Breakpoint"
16834 }
16835 }
16836 __refs__ = set(['breakpoint'])
16837
16838 __slots__ = list(__props__.keys()) + ['kwargs']
16839
16840 def __init__(self, reason, breakpoint, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
16841 """
16842 :param string reason: The reason for the event.
-
E501
Line too long (147 > 79 characters)
16843 :param Breakpoint breakpoint: The 'id' attribute is used to find the target breakpoint and the other attributes are used as the new values.
16844 """
16845 self.reason = reason
16846 if breakpoint is None:
16847 self.breakpoint = Breakpoint()
16848 else:
-
E501
Line too long (150 > 79 characters)
-
E222
Multiple spaces after operator
16849 self.breakpoint = Breakpoint(update_ids_from_dap=update_ids_from_dap, **breakpoint) if breakpoint.__class__ != Breakpoint else breakpoint
16850 self.kwargs = kwargs
16851
16852
16853 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
16854 reason = self.reason
16855 breakpoint = self.breakpoint # noqa (assign to builtin)
16856 dct = {
16857 'reason': reason,
-
E501
Line too long (82 > 79 characters)
16858 'breakpoint': breakpoint.to_dict(update_ids_to_dap=update_ids_to_dap),
16859 }
16860 dct.update(self.kwargs)
16861 return dct
16862
16863
16864 @register
16865 class ModuleEventBody(BaseSchema):
16866 """
16867 "body" of ModuleEvent
16868
16869 Note: automatically generated code. Do not edit manually.
16870 """
16871
16872 __props__ = {
16873 "reason": {
16874 "type": "string",
16875 "description": "The reason for the event.",
16876 "enum": [
16877 "new",
16878 "changed",
16879 "removed"
16880 ]
16881 },
16882 "module": {
-
E501
Line too long (115 > 79 characters)
16883 "description": "The new, changed, or removed module. In case of 'removed' only the module id is used.",
16884 "type": "Module"
16885 }
16886 }
16887 __refs__ = set(['module'])
16888
16889 __slots__ = list(__props__.keys()) + ['kwargs']
16890
16891 def __init__(self, reason, module, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
16892 """
16893 :param string reason: The reason for the event.
-
E501
Line too long (115 > 79 characters)
16894 :param Module module: The new, changed, or removed module. In case of 'removed' only the module id is used.
16895 """
16896 self.reason = reason
16897 if module is None:
16898 self.module = Module()
16899 else:
-
E501
Line too long (126 > 79 characters)
-
E222
Multiple spaces after operator
16900 self.module = Module(update_ids_from_dap=update_ids_from_dap, **module) if module.__class__ != Module else module
16901 self.kwargs = kwargs
16902
16903
16904 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
16905 reason = self.reason
16906 module = self.module
16907 dct = {
16908 'reason': reason,
16909 'module': module.to_dict(update_ids_to_dap=update_ids_to_dap),
16910 }
16911 dct.update(self.kwargs)
16912 return dct
16913
16914
16915 @register
16916 class LoadedSourceEventBody(BaseSchema):
16917 """
16918 "body" of LoadedSourceEvent
16919
16920 Note: automatically generated code. Do not edit manually.
16921 """
16922
16923 __props__ = {
16924 "reason": {
16925 "type": "string",
16926 "description": "The reason for the event.",
16927 "enum": [
16928 "new",
16929 "changed",
16930 "removed"
16931 ]
16932 },
16933 "source": {
16934 "description": "The new, changed, or removed source.",
16935 "type": "Source"
16936 }
16937 }
16938 __refs__ = set(['source'])
16939
16940 __slots__ = list(__props__.keys()) + ['kwargs']
16941
16942 def __init__(self, reason, source, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
16943 """
16944 :param string reason: The reason for the event.
16945 :param Source source: The new, changed, or removed source.
16946 """
16947 self.reason = reason
16948 if source is None:
16949 self.source = Source()
16950 else:
-
E501
Line too long (126 > 79 characters)
-
E222
Multiple spaces after operator
16951 self.source = Source(update_ids_from_dap=update_ids_from_dap, **source) if source.__class__ != Source else source
16952 self.kwargs = kwargs
16953
16954
16955 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
16956 reason = self.reason
16957 source = self.source
16958 dct = {
16959 'reason': reason,
16960 'source': source.to_dict(update_ids_to_dap=update_ids_to_dap),
16961 }
16962 dct.update(self.kwargs)
16963 return dct
16964
16965
16966 @register
16967 class ProcessEventBody(BaseSchema):
16968 """
16969 "body" of ProcessEvent
16970
16971 Note: automatically generated code. Do not edit manually.
16972 """
16973
16974 __props__ = {
16975 "name": {
16976 "type": "string",
-
E501
Line too long (163 > 79 characters)
16977 "description": "The logical name of the process. This is usually the full path to process's executable file. Example: /home/example/myproj/program.js."
16978 },
16979 "systemProcessId": {
16980 "type": "integer",
-
E501
Line too long (131 > 79 characters)
16981 "description": "The system process id of the debugged process. This property will be missing for non-system processes."
16982 },
16983 "isLocalProcess": {
16984 "type": "boolean",
-
E501
Line too long (103 > 79 characters)
16985 "description": "If true, the process is running on the same computer as the debug adapter."
16986 },
16987 "startMethod": {
16988 "type": "string",
16989 "enum": [
16990 "launch",
16991 "attach",
16992 "attachForSuspendedLaunch"
16993 ],
-
E501
Line too long (92 > 79 characters)
16994 "description": "Describes how the debug engine started debugging this process.",
16995 "enumDescriptions": [
16996 "Process was launched under the debugger.",
16997 "Debugger attached to an existing process.",
-
E501
Line too long (133 > 79 characters)
16998 "A project launcher component has launched a new process in a suspended state and then asked the debugger to attach."
16999 ]
17000 },
17001 "pointerSize": {
17002 "type": "integer",
-
E501
Line too long (161 > 79 characters)
17003 "description": "The size of a pointer or address for this process, in bits. This value may be used by clients when formatting addresses for display."
17004 }
17005 }
17006 __refs__ = set()
17007
17008 __slots__ = list(__props__.keys()) + ['kwargs']
17009
17010 def __init__(self, name, systemProcessId=None, isLocalProcess=None, startMethod=None, pointerSize=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
17011 """
-
E501
Line too long (162 > 79 characters)
17012 :param string name: The logical name of the process. This is usually the full path to process's executable file. Example: /home/example/myproj/program.js.
-
E501
Line too long (142 > 79 characters)
17013 :param integer systemProcessId: The system process id of the debugged process. This property will be missing for non-system processes.
-
E501
Line too long (113 > 79 characters)
17014 :param boolean isLocalProcess: If true, the process is running on the same computer as the debug adapter.
-
E501
Line too long (97 > 79 characters)
17015 :param string startMethod: Describes how the debug engine started debugging this process.
-
E501
Line too long (168 > 79 characters)
17016 :param integer pointerSize: The size of a pointer or address for this process, in bits. This value may be used by clients when formatting addresses for display.
17017 """
17018 self.name = name
17019 self.systemProcessId = systemProcessId
17020 self.isLocalProcess = isLocalProcess
17021 self.startMethod = startMethod
17022 self.pointerSize = pointerSize
17023 self.kwargs = kwargs
17024
17025
17026 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
17027 name = self.name
17028 systemProcessId = self.systemProcessId
17029 isLocalProcess = self.isLocalProcess
17030 startMethod = self.startMethod
17031 pointerSize = self.pointerSize
17032 dct = {
17033 'name': name,
17034 }
17035 if systemProcessId is not None:
17036 dct['systemProcessId'] = systemProcessId
17037 if isLocalProcess is not None:
17038 dct['isLocalProcess'] = isLocalProcess
17039 if startMethod is not None:
17040 dct['startMethod'] = startMethod
17041 if pointerSize is not None:
17042 dct['pointerSize'] = pointerSize
17043 dct.update(self.kwargs)
17044 return dct
17045
17046
17047 @register
17048 class CapabilitiesEventBody(BaseSchema):
17049 """
17050 "body" of CapabilitiesEvent
17051
17052 Note: automatically generated code. Do not edit manually.
17053 """
17054
17055 __props__ = {
17056 "capabilities": {
17057 "description": "The set of updated capabilities.",
17058 "type": "Capabilities"
17059 }
17060 }
17061 __refs__ = set(['capabilities'])
17062
17063 __slots__ = list(__props__.keys()) + ['kwargs']
17064
17065 def __init__(self, capabilities, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
17066 """
17067 :param Capabilities capabilities: The set of updated capabilities.
17068 """
17069 if capabilities is None:
17070 self.capabilities = Capabilities()
17071 else:
-
E501
Line too long (162 > 79 characters)
-
E222
Multiple spaces after operator
17072 self.capabilities = Capabilities(update_ids_from_dap=update_ids_from_dap, **capabilities) if capabilities.__class__ != Capabilities else capabilities
17073 self.kwargs = kwargs
17074
17075
17076 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
17077 capabilities = self.capabilities
17078 dct = {
-
E501
Line too long (86 > 79 characters)
17079 'capabilities': capabilities.to_dict(update_ids_to_dap=update_ids_to_dap),
17080 }
17081 dct.update(self.kwargs)
17082 return dct
17083
17084
17085 @register
17086 class ProgressStartEventBody(BaseSchema):
17087 """
17088 "body" of ProgressStartEvent
17089
17090 Note: automatically generated code. Do not edit manually.
17091 """
17092
17093 __props__ = {
17094 "progressId": {
17095 "type": "string",
-
E501
Line too long (203 > 79 characters)
17096 "description": "An ID that must be used in subsequent 'progressUpdate' and 'progressEnd' events to make them refer to the same progress reporting.\nIDs must be unique within a debug session."
17097 },
17098 "title": {
17099 "type": "string",
-
E501
Line too long (135 > 79 characters)
17100 "description": "Mandatory (short) title of the progress reporting. Shown in the UI to describe the long running operation."
17101 },
17102 "requestId": {
17103 "type": "integer",
-
E501
Line too long (360 > 79 characters)
17104 "description": "The request ID that this progress report is related to. If specified a debug adapter is expected to emit\nprogress events for the long running request until the request has been either completed or cancelled.\nIf the request ID is omitted, the progress report is assumed to be related to some general activity of the debug adapter."
17105 },
17106 "cancellable": {
17107 "type": "boolean",
-
E501
Line too long (286 > 79 characters)
17108 "description": "If true, the request that reports progress may be canceled with a 'cancel' request.\nSo this property basically controls whether the client should use UX that supports cancellation.\nClients that don't support cancellation are allowed to ignore the setting."
17109 },
17110 "message": {
17111 "type": "string",
17112 "description": "Optional, more detailed progress message."
17113 },
17114 "percentage": {
17115 "type": "number",
-
E501
Line too long (133 > 79 characters)
17116 "description": "Optional progress percentage to display (value range: 0 to 100). If omitted no percentage will be shown."
17117 }
17118 }
17119 __refs__ = set()
17120
17121 __slots__ = list(__props__.keys()) + ['kwargs']
17122
17123 def __init__(self, progressId, title, requestId=None, cancellable=None, message=None, percentage=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
17124 """
-
E501
Line too long (164 > 79 characters)
17125 :param string progressId: An ID that must be used in subsequent 'progressUpdate' and 'progressEnd' events to make them refer to the same progress reporting.
17126 IDs must be unique within a debug session.
-
E501
Line too long (135 > 79 characters)
17127 :param string title: Mandatory (short) title of the progress reporting. Shown in the UI to describe the long running operation.
-
E501
Line too long (138 > 79 characters)
17128 :param integer requestId: The request ID that this progress report is related to. If specified a debug adapter is expected to emit
-
E501
Line too long (110 > 79 characters)
17129 progress events for the long running request until the request has been either completed or cancelled.
-
E501
Line too long (129 > 79 characters)
17130 If the request ID is omitted, the progress report is assumed to be related to some general activity of the debug adapter.
-
E501
Line too long (119 > 79 characters)
17131 :param boolean cancellable: If true, the request that reports progress may be canceled with a 'cancel' request.
-
E501
Line too long (104 > 79 characters)
17132 So this property basically controls whether the client should use UX that supports cancellation.
-
E501
Line too long (82 > 79 characters)
17133 Clients that don't support cancellation are allowed to ignore the setting.
17134 :param string message: Optional, more detailed progress message.
-
E501
Line too long (138 > 79 characters)
17135 :param number percentage: Optional progress percentage to display (value range: 0 to 100). If omitted no percentage will be shown.
17136 """
17137 self.progressId = progressId
17138 self.title = title
17139 self.requestId = requestId
17140 self.cancellable = cancellable
17141 self.message = message
17142 self.percentage = percentage
17143 self.kwargs = kwargs
17144
17145
17146 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
17147 progressId = self.progressId
17148 title = self.title
17149 requestId = self.requestId
17150 cancellable = self.cancellable
17151 message = self.message
17152 percentage = self.percentage
17153 dct = {
17154 'progressId': progressId,
17155 'title': title,
17156 }
17157 if requestId is not None:
17158 dct['requestId'] = requestId
17159 if cancellable is not None:
17160 dct['cancellable'] = cancellable
17161 if message is not None:
17162 dct['message'] = message
17163 if percentage is not None:
17164 dct['percentage'] = percentage
17165 dct.update(self.kwargs)
17166 return dct
17167
17168
17169 @register
17170 class ProgressUpdateEventBody(BaseSchema):
17171 """
17172 "body" of ProgressUpdateEvent
17173
17174 Note: automatically generated code. Do not edit manually.
17175 """
17176
17177 __props__ = {
17178 "progressId": {
17179 "type": "string",
-
E501
Line too long (93 > 79 characters)
17180 "description": "The ID that was introduced in the initial 'progressStart' event."
17181 },
17182 "message": {
17183 "type": "string",
-
E501
Line too long (121 > 79 characters)
17184 "description": "Optional, more detailed progress message. If omitted, the previous message (if any) is used."
17185 },
17186 "percentage": {
17187 "type": "number",
-
E501
Line too long (133 > 79 characters)
17188 "description": "Optional progress percentage to display (value range: 0 to 100). If omitted no percentage will be shown."
17189 }
17190 }
17191 __refs__ = set()
17192
17193 __slots__ = list(__props__.keys()) + ['kwargs']
17194
17195 def __init__(self, progressId, message=None, percentage=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
17196 """
-
E501
Line too long (98 > 79 characters)
17197 :param string progressId: The ID that was introduced in the initial 'progressStart' event.
-
E501
Line too long (123 > 79 characters)
17198 :param string message: Optional, more detailed progress message. If omitted, the previous message (if any) is used.
-
E501
Line too long (138 > 79 characters)
17199 :param number percentage: Optional progress percentage to display (value range: 0 to 100). If omitted no percentage will be shown.
17200 """
17201 self.progressId = progressId
17202 self.message = message
17203 self.percentage = percentage
17204 self.kwargs = kwargs
17205
17206
17207 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
17208 progressId = self.progressId
17209 message = self.message
17210 percentage = self.percentage
17211 dct = {
17212 'progressId': progressId,
17213 }
17214 if message is not None:
17215 dct['message'] = message
17216 if percentage is not None:
17217 dct['percentage'] = percentage
17218 dct.update(self.kwargs)
17219 return dct
17220
17221
17222 @register
17223 class ProgressEndEventBody(BaseSchema):
17224 """
17225 "body" of ProgressEndEvent
17226
17227 Note: automatically generated code. Do not edit manually.
17228 """
17229
17230 __props__ = {
17231 "progressId": {
17232 "type": "string",
-
E501
Line too long (92 > 79 characters)
17233 "description": "The ID that was introduced in the initial 'ProgressStartEvent'."
17234 },
17235 "message": {
17236 "type": "string",
-
E501
Line too long (121 > 79 characters)
17237 "description": "Optional, more detailed progress message. If omitted, the previous message (if any) is used."
17238 }
17239 }
17240 __refs__ = set()
17241
17242 __slots__ = list(__props__.keys()) + ['kwargs']
17243
17244 def __init__(self, progressId, message=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
17245 """
-
E501
Line too long (97 > 79 characters)
17246 :param string progressId: The ID that was introduced in the initial 'ProgressStartEvent'.
-
E501
Line too long (123 > 79 characters)
17247 :param string message: Optional, more detailed progress message. If omitted, the previous message (if any) is used.
17248 """
17249 self.progressId = progressId
17250 self.message = message
17251 self.kwargs = kwargs
17252
17253
17254 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
17255 progressId = self.progressId
17256 message = self.message
17257 dct = {
17258 'progressId': progressId,
17259 }
17260 if message is not None:
17261 dct['message'] = message
17262 dct.update(self.kwargs)
17263 return dct
17264
17265
17266 @register
17267 class InvalidatedEventBody(BaseSchema):
17268 """
17269 "body" of InvalidatedEvent
17270
17271 Note: automatically generated code. Do not edit manually.
17272 """
17273
17274 __props__ = {
17275 "areas": {
17276 "type": "array",
-
E501
Line too long (343 > 79 characters)
17277 "description": "Optional set of logical areas that got invalidated. This property has a hint characteristic: a client can only be expected to make a 'best effort' in honouring the areas but there are no guarantees. If this property is missing, empty, or if values are not understand the client should assume a single value 'all'.",
17278 "items": {
17279 "$ref": "#/definitions/InvalidatedAreas"
17280 }
17281 },
17282 "threadId": {
17283 "type": "integer",
-
E501
Line too long (104 > 79 characters)
17284 "description": "If specified, the client only needs to refetch data related to this thread."
17285 },
17286 "stackFrameId": {
17287 "type": "integer",
-
E501
Line too long (141 > 79 characters)
17288 "description": "If specified, the client only needs to refetch data related to this stack frame (and the 'threadId' is ignored)."
17289 }
17290 }
17291 __refs__ = set()
17292
17293 __slots__ = list(__props__.keys()) + ['kwargs']
17294
17295 def __init__(self, areas=None, threadId=None, stackFrameId=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
17296 """
-
E501
Line too long (341 > 79 characters)
17297 :param array areas: Optional set of logical areas that got invalidated. This property has a hint characteristic: a client can only be expected to make a 'best effort' in honouring the areas but there are no guarantees. If this property is missing, empty, or if values are not understand the client should assume a single value 'all'.
-
E501
Line too long (108 > 79 characters)
17298 :param integer threadId: If specified, the client only needs to refetch data related to this thread.
-
E501
Line too long (149 > 79 characters)
17299 :param integer stackFrameId: If specified, the client only needs to refetch data related to this stack frame (and the 'threadId' is ignored).
17300 """
17301 self.areas = areas
17302 if update_ids_from_dap and self.areas:
17303 for o in self.areas:
17304 InvalidatedAreas.update_dict_ids_from_dap(o)
17305 self.threadId = threadId
17306 self.stackFrameId = stackFrameId
17307 if update_ids_from_dap:
17308 self.threadId = self._translate_id_from_dap(self.threadId)
17309 self.kwargs = kwargs
-
W293
Blank line contains whitespace
17310
-
W293
Blank line contains whitespace
17311
-
E303
Too many blank lines (2)
17312 @classmethod
17313 def update_dict_ids_from_dap(cls, dct):
17314 if 'threadId' in dct:
17315 dct['threadId'] = cls._translate_id_from_dap(dct['threadId'])
17316 return dct
17317
17318 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
17319 areas = self.areas
17320 if areas and hasattr(areas[0], "to_dict"):
17321 areas = [x.to_dict() for x in areas]
17322 threadId = self.threadId
17323 stackFrameId = self.stackFrameId
17324 if update_ids_to_dap:
17325 if threadId is not None:
17326 threadId = self._translate_id_to_dap(threadId)
17327 dct = {
17328 }
17329 if areas is not None:
-
E501
Line too long (130 > 79 characters)
17330 dct['areas'] = [InvalidatedAreas.update_dict_ids_to_dap(o) for o in areas] if (update_ids_to_dap and areas) else areas
17331 if threadId is not None:
17332 dct['threadId'] = threadId
17333 if stackFrameId is not None:
17334 dct['stackFrameId'] = stackFrameId
17335 dct.update(self.kwargs)
-
W293
Blank line contains whitespace
17337
17338 @classmethod
17339 def update_dict_ids_to_dap(cls, dct):
17340 if 'threadId' in dct:
17341 dct['threadId'] = cls._translate_id_to_dap(dct['threadId'])
17342 return dct
17343
17344
17345 @register
17346 class RunInTerminalRequestArgumentsEnv(BaseSchema):
17347 """
17348 "env" of RunInTerminalRequestArguments
17349
17350 Note: automatically generated code. Do not edit manually.
17351 """
17352
17353 __props__ = {}
17354 __refs__ = set()
17355
17356 __slots__ = list(__props__.keys()) + ['kwargs']
17357
17358 def __init__(self, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
17359 """
-
W293
Blank line contains whitespace
17360
17361 """
-
W293
Blank line contains whitespace
17362
17363 self.kwargs = kwargs
17364
17365
17366 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
17367 dct = {
17368 }
17369 dct.update(self.kwargs)
17370 return dct
17371
17372
17373 @register
17374 class RunInTerminalResponseBody(BaseSchema):
17375 """
17376 "body" of RunInTerminalResponse
17377
17378 Note: automatically generated code. Do not edit manually.
17379 """
17380
17381 __props__ = {
17382 "processId": {
17383 "type": "integer",
-
E501
Line too long (107 > 79 characters)
17384 "description": "The process ID. The value should be less than or equal to 2147483647 (2^31-1)."
17385 },
17386 "shellProcessId": {
17387 "type": "integer",
-
E501
Line too long (129 > 79 characters)
17388 "description": "The process ID of the terminal shell. The value should be less than or equal to 2147483647 (2^31-1)."
17389 }
17390 }
17391 __refs__ = set()
17392
17393 __slots__ = list(__props__.keys()) + ['kwargs']
17394
17395 def __init__(self, processId=None, shellProcessId=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
17396 """
-
E501
Line too long (112 > 79 characters)
17397 :param integer processId: The process ID. The value should be less than or equal to 2147483647 (2^31-1).
-
E501
Line too long (139 > 79 characters)
17398 :param integer shellProcessId: The process ID of the terminal shell. The value should be less than or equal to 2147483647 (2^31-1).
17399 """
17400 self.processId = processId
17401 self.shellProcessId = shellProcessId
17402 self.kwargs = kwargs
17403
17404
17405 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
17406 processId = self.processId
17407 shellProcessId = self.shellProcessId
17408 dct = {
17409 }
17410 if processId is not None:
17411 dct['processId'] = processId
17412 if shellProcessId is not None:
17413 dct['shellProcessId'] = shellProcessId
17414 dct.update(self.kwargs)
17415 return dct
17416
17417
17418 @register
17419 class BreakpointLocationsResponseBody(BaseSchema):
17420 """
17421 "body" of BreakpointLocationsResponse
17422
17423 Note: automatically generated code. Do not edit manually.
17424 """
17425
17426 __props__ = {
17427 "breakpoints": {
17428 "type": "array",
17429 "items": {
17430 "$ref": "#/definitions/BreakpointLocation"
17431 },
17432 "description": "Sorted set of possible breakpoint locations."
17433 }
17434 }
17435 __refs__ = set()
17436
17437 __slots__ = list(__props__.keys()) + ['kwargs']
17438
17439 def __init__(self, breakpoints, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
17440 """
17441 :param array breakpoints: Sorted set of possible breakpoint locations.
17442 """
17443 self.breakpoints = breakpoints
17444 if update_ids_from_dap and self.breakpoints:
17445 for o in self.breakpoints:
17446 BreakpointLocation.update_dict_ids_from_dap(o)
17447 self.kwargs = kwargs
17448
17449
17450 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
17451 breakpoints = self.breakpoints
17452 if breakpoints and hasattr(breakpoints[0], "to_dict"):
17453 breakpoints = [x.to_dict() for x in breakpoints]
17454 dct = {
-
E501
Line too long (151 > 79 characters)
17455 'breakpoints': [BreakpointLocation.update_dict_ids_to_dap(o) for o in breakpoints] if (update_ids_to_dap and breakpoints) else breakpoints,
17456 }
17457 dct.update(self.kwargs)
17458 return dct
17459
17460
17461 @register
17462 class SetBreakpointsResponseBody(BaseSchema):
17463 """
17464 "body" of SetBreakpointsResponse
17465
17466 Note: automatically generated code. Do not edit manually.
17467 """
17468
17469 __props__ = {
17470 "breakpoints": {
17471 "type": "array",
17472 "items": {
17473 "$ref": "#/definitions/Breakpoint"
17474 },
-
E501
Line too long (194 > 79 characters)
17475 "description": "Information about the breakpoints.\nThe array elements are in the same order as the elements of the 'breakpoints' (or the deprecated 'lines') array in the arguments."
17476 }
17477 }
17478 __refs__ = set()
17479
17480 __slots__ = list(__props__.keys()) + ['kwargs']
17481
17482 def __init__(self, breakpoints, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
17483 """
17484 :param array breakpoints: Information about the breakpoints.
-
E501
Line too long (137 > 79 characters)
17485 The array elements are in the same order as the elements of the 'breakpoints' (or the deprecated 'lines') array in the arguments.
17486 """
17487 self.breakpoints = breakpoints
17488 if update_ids_from_dap and self.breakpoints:
17489 for o in self.breakpoints:
17490 Breakpoint.update_dict_ids_from_dap(o)
17491 self.kwargs = kwargs
17492
17493
17494 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
17495 breakpoints = self.breakpoints
17496 if breakpoints and hasattr(breakpoints[0], "to_dict"):
17497 breakpoints = [x.to_dict() for x in breakpoints]
17498 dct = {
-
E501
Line too long (143 > 79 characters)
17499 'breakpoints': [Breakpoint.update_dict_ids_to_dap(o) for o in breakpoints] if (update_ids_to_dap and breakpoints) else breakpoints,
17500 }
17501 dct.update(self.kwargs)
17502 return dct
17503
17504
17505 @register
17506 class SetFunctionBreakpointsResponseBody(BaseSchema):
17507 """
17508 "body" of SetFunctionBreakpointsResponse
17509
17510 Note: automatically generated code. Do not edit manually.
17511 """
17512
17513 __props__ = {
17514 "breakpoints": {
17515 "type": "array",
17516 "items": {
17517 "$ref": "#/definitions/Breakpoint"
17518 },
-
E501
Line too long (137 > 79 characters)
17519 "description": "Information about the breakpoints. The array elements correspond to the elements of the 'breakpoints' array."
17520 }
17521 }
17522 __refs__ = set()
17523
17524 __slots__ = list(__props__.keys()) + ['kwargs']
17525
17526 def __init__(self, breakpoints, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
17527 """
-
E501
Line too long (142 > 79 characters)
17528 :param array breakpoints: Information about the breakpoints. The array elements correspond to the elements of the 'breakpoints' array.
17529 """
17530 self.breakpoints = breakpoints
17531 if update_ids_from_dap and self.breakpoints:
17532 for o in self.breakpoints:
17533 Breakpoint.update_dict_ids_from_dap(o)
17534 self.kwargs = kwargs
17535
17536
17537 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
17538 breakpoints = self.breakpoints
17539 if breakpoints and hasattr(breakpoints[0], "to_dict"):
17540 breakpoints = [x.to_dict() for x in breakpoints]
17541 dct = {
-
E501
Line too long (143 > 79 characters)
17542 'breakpoints': [Breakpoint.update_dict_ids_to_dap(o) for o in breakpoints] if (update_ids_to_dap and breakpoints) else breakpoints,
17543 }
17544 dct.update(self.kwargs)
17545 return dct
17546
17547
17548 @register
17549 class DataBreakpointInfoResponseBody(BaseSchema):
17550 """
17551 "body" of DataBreakpointInfoResponse
17552
17553 Note: automatically generated code. Do not edit manually.
17554 """
17555
17556 __props__ = {
17557 "dataId": {
17558 "type": [
17559 "string",
17560 "null"
17561 ],
-
E501
Line too long (180 > 79 characters)
17562 "description": "An identifier for the data on which a data breakpoint can be registered with the setDataBreakpoints request or null if no data breakpoint is available."
17563 },
17564 "description": {
17565 "type": "string",
-
E501
Line too long (134 > 79 characters)
17566 "description": "UI string that describes on what data the breakpoint is set on or why a data breakpoint is not available."
17567 },
17568 "accessTypes": {
17569 "type": "array",
17570 "items": {
17571 "$ref": "#/definitions/DataBreakpointAccessType"
17572 },
-
E501
Line too long (161 > 79 characters)
17573 "description": "Optional attribute listing the available access types for a potential data breakpoint. A UI frontend could surface this information."
17574 },
17575 "canPersist": {
17576 "type": "boolean",
-
E501
Line too long (127 > 79 characters)
17577 "description": "Optional attribute indicating that a potential data breakpoint could be persisted across sessions."
17578 }
17579 }
17580 __refs__ = set()
17581
17582 __slots__ = list(__props__.keys()) + ['kwargs']
17583
17584 def __init__(self, dataId, description, accessTypes=None, canPersist=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
17585 """
-
E501
Line too long (193 > 79 characters)
17586 :param ['string', 'null'] dataId: An identifier for the data on which a data breakpoint can be registered with the setDataBreakpoints request or null if no data breakpoint is available.
-
E501
Line too long (140 > 79 characters)
17587 :param string description: UI string that describes on what data the breakpoint is set on or why a data breakpoint is not available.
-
E501
Line too long (166 > 79 characters)
17588 :param array accessTypes: Optional attribute listing the available access types for a potential data breakpoint. A UI frontend could surface this information.
-
E501
Line too long (133 > 79 characters)
17589 :param boolean canPersist: Optional attribute indicating that a potential data breakpoint could be persisted across sessions.
17590 """
17591 self.dataId = dataId
17592 self.description = description
17593 self.accessTypes = accessTypes
17594 if update_ids_from_dap and self.accessTypes:
17595 for o in self.accessTypes:
17596 DataBreakpointAccessType.update_dict_ids_from_dap(o)
17597 self.canPersist = canPersist
17598 self.kwargs = kwargs
17599
17600
17601 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
17602 dataId = self.dataId
17603 description = self.description
17604 accessTypes = self.accessTypes
17605 if accessTypes and hasattr(accessTypes[0], "to_dict"):
17606 accessTypes = [x.to_dict() for x in accessTypes]
17607 canPersist = self.canPersist
17608 dct = {
17609 'dataId': dataId,
17610 'description': description,
17611 }
17612 if accessTypes is not None:
-
E501
Line too long (162 > 79 characters)
17613 dct['accessTypes'] = [DataBreakpointAccessType.update_dict_ids_to_dap(o) for o in accessTypes] if (update_ids_to_dap and accessTypes) else accessTypes
17614 if canPersist is not None:
17615 dct['canPersist'] = canPersist
17616 dct.update(self.kwargs)
17617 return dct
17618
17619
17620 @register
17621 class SetDataBreakpointsResponseBody(BaseSchema):
17622 """
17623 "body" of SetDataBreakpointsResponse
17624
17625 Note: automatically generated code. Do not edit manually.
17626 """
17627
17628 __props__ = {
17629 "breakpoints": {
17630 "type": "array",
17631 "items": {
17632 "$ref": "#/definitions/Breakpoint"
17633 },
-
E501
Line too long (157 > 79 characters)
17634 "description": "Information about the data breakpoints. The array elements correspond to the elements of the input argument 'breakpoints' array."
17635 }
17636 }
17637 __refs__ = set()
17638
17639 __slots__ = list(__props__.keys()) + ['kwargs']
17640
17641 def __init__(self, breakpoints, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
17642 """
-
E501
Line too long (162 > 79 characters)
17643 :param array breakpoints: Information about the data breakpoints. The array elements correspond to the elements of the input argument 'breakpoints' array.
17644 """
17645 self.breakpoints = breakpoints
17646 if update_ids_from_dap and self.breakpoints:
17647 for o in self.breakpoints:
17648 Breakpoint.update_dict_ids_from_dap(o)
17649 self.kwargs = kwargs
17650
17651
17652 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
17653 breakpoints = self.breakpoints
17654 if breakpoints and hasattr(breakpoints[0], "to_dict"):
17655 breakpoints = [x.to_dict() for x in breakpoints]
17656 dct = {
-
E501
Line too long (143 > 79 characters)
17657 'breakpoints': [Breakpoint.update_dict_ids_to_dap(o) for o in breakpoints] if (update_ids_to_dap and breakpoints) else breakpoints,
17658 }
17659 dct.update(self.kwargs)
17660 return dct
17661
17662
17663 @register
17664 class SetInstructionBreakpointsResponseBody(BaseSchema):
17665 """
17666 "body" of SetInstructionBreakpointsResponse
17667
17668 Note: automatically generated code. Do not edit manually.
17669 """
17670
17671 __props__ = {
17672 "breakpoints": {
17673 "type": "array",
17674 "items": {
17675 "$ref": "#/definitions/Breakpoint"
17676 },
-
E501
Line too long (137 > 79 characters)
17677 "description": "Information about the breakpoints. The array elements correspond to the elements of the 'breakpoints' array."
17678 }
17679 }
17680 __refs__ = set()
17681
17682 __slots__ = list(__props__.keys()) + ['kwargs']
17683
17684 def __init__(self, breakpoints, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
17685 """
-
E501
Line too long (142 > 79 characters)
17686 :param array breakpoints: Information about the breakpoints. The array elements correspond to the elements of the 'breakpoints' array.
17687 """
17688 self.breakpoints = breakpoints
17689 if update_ids_from_dap and self.breakpoints:
17690 for o in self.breakpoints:
17691 Breakpoint.update_dict_ids_from_dap(o)
17692 self.kwargs = kwargs
17693
17694
17695 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
17696 breakpoints = self.breakpoints
17697 if breakpoints and hasattr(breakpoints[0], "to_dict"):
17698 breakpoints = [x.to_dict() for x in breakpoints]
17699 dct = {
-
E501
Line too long (143 > 79 characters)
17700 'breakpoints': [Breakpoint.update_dict_ids_to_dap(o) for o in breakpoints] if (update_ids_to_dap and breakpoints) else breakpoints,
17701 }
17702 dct.update(self.kwargs)
17703 return dct
17704
17705
17706 @register
17707 class ContinueResponseBody(BaseSchema):
17708 """
17709 "body" of ContinueResponse
17710
17711 Note: automatically generated code. Do not edit manually.
17712 """
17713
17714 __props__ = {
17715 "allThreadsContinued": {
17716 "type": "boolean",
-
E501
Line too long (215 > 79 characters)
17717 "description": "If true, the 'continue' request has ignored the specified thread and continued all threads instead.\nIf this attribute is missing a value of 'true' is assumed for backward compatibility."
17718 }
17719 }
17720 __refs__ = set()
17721
17722 __slots__ = list(__props__.keys()) + ['kwargs']
17723
17724 def __init__(self, allThreadsContinued=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
17725 """
-
E501
Line too long (143 > 79 characters)
17726 :param boolean allThreadsContinued: If true, the 'continue' request has ignored the specified thread and continued all threads instead.
-
E501
Line too long (93 > 79 characters)
17727 If this attribute is missing a value of 'true' is assumed for backward compatibility.
17728 """
17729 self.allThreadsContinued = allThreadsContinued
17730 self.kwargs = kwargs
17731
17732
17733 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
17734 allThreadsContinued = self.allThreadsContinued
17735 dct = {
17736 }
17737 if allThreadsContinued is not None:
17738 dct['allThreadsContinued'] = allThreadsContinued
17739 dct.update(self.kwargs)
17740 return dct
17741
17742
17743 @register
17744 class StackTraceResponseBody(BaseSchema):
17745 """
17746 "body" of StackTraceResponse
17747
17748 Note: automatically generated code. Do not edit manually.
17749 """
17750
17751 __props__ = {
17752 "stackFrames": {
17753 "type": "array",
17754 "items": {
17755 "$ref": "#/definitions/StackFrame"
17756 },
-
E501
Line too long (185 > 79 characters)
17757 "description": "The frames of the stackframe. If the array has length zero, there are no stackframes available.\nThis means that there is no location information available."
17758 },
17759 "totalFrames": {
17760 "type": "integer",
-
E501
Line too long (398 > 79 characters)
17761 "description": "The total number of frames available in the stack. If omitted or if totalFrames is larger than the available frames, a client is expected to request frames until a request returns less frames than requested (which indicates the end of the stack). Returning monotonically increasing totalFrames values for subsequent requests can be used to enforce paging in the client."
17762 }
17763 }
17764 __refs__ = set()
17765
17766 __slots__ = list(__props__.keys()) + ['kwargs']
17767
17768 def __init__(self, stackFrames, totalFrames=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
17769 """
-
E501
Line too long (129 > 79 characters)
17770 :param array stackFrames: The frames of the stackframe. If the array has length zero, there are no stackframes available.
17771 This means that there is no location information available.
-
E501
Line too long (405 > 79 characters)
17772 :param integer totalFrames: The total number of frames available in the stack. If omitted or if totalFrames is larger than the available frames, a client is expected to request frames until a request returns less frames than requested (which indicates the end of the stack). Returning monotonically increasing totalFrames values for subsequent requests can be used to enforce paging in the client.
17773 """
17774 self.stackFrames = stackFrames
17775 if update_ids_from_dap and self.stackFrames:
17776 for o in self.stackFrames:
17777 StackFrame.update_dict_ids_from_dap(o)
17778 self.totalFrames = totalFrames
17779 self.kwargs = kwargs
17780
17781
17782 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
17783 stackFrames = self.stackFrames
17784 if stackFrames and hasattr(stackFrames[0], "to_dict"):
17785 stackFrames = [x.to_dict() for x in stackFrames]
17786 totalFrames = self.totalFrames
17787 dct = {
-
E501
Line too long (143 > 79 characters)
17788 'stackFrames': [StackFrame.update_dict_ids_to_dap(o) for o in stackFrames] if (update_ids_to_dap and stackFrames) else stackFrames,
17789 }
17790 if totalFrames is not None:
17791 dct['totalFrames'] = totalFrames
17792 dct.update(self.kwargs)
17793 return dct
17794
17795
17796 @register
17797 class ScopesResponseBody(BaseSchema):
17798 """
17799 "body" of ScopesResponse
17800
17801 Note: automatically generated code. Do not edit manually.
17802 """
17803
17804 __props__ = {
17805 "scopes": {
17806 "type": "array",
17807 "items": {
17808 "$ref": "#/definitions/Scope"
17809 },
-
E501
Line too long (119 > 79 characters)
17810 "description": "The scopes of the stackframe. If the array has length zero, there are no scopes available."
17811 }
17812 }
17813 __refs__ = set()
17814
17815 __slots__ = list(__props__.keys()) + ['kwargs']
17816
17817 def __init__(self, scopes, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
17818 """
-
E501
Line too long (119 > 79 characters)
17819 :param array scopes: The scopes of the stackframe. If the array has length zero, there are no scopes available.
17820 """
17821 self.scopes = scopes
17822 if update_ids_from_dap and self.scopes:
17823 for o in self.scopes:
17824 Scope.update_dict_ids_from_dap(o)
17825 self.kwargs = kwargs
17826
17827
17828 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
17829 scopes = self.scopes
17830 if scopes and hasattr(scopes[0], "to_dict"):
17831 scopes = [x.to_dict() for x in scopes]
17832 dct = {
-
E501
Line too long (118 > 79 characters)
17833 'scopes': [Scope.update_dict_ids_to_dap(o) for o in scopes] if (update_ids_to_dap and scopes) else scopes,
17834 }
17835 dct.update(self.kwargs)
17836 return dct
17837
17838
17839 @register
17840 class VariablesResponseBody(BaseSchema):
17841 """
17842 "body" of VariablesResponse
17843
17844 Note: automatically generated code. Do not edit manually.
17845 """
17846
17847 __props__ = {
17848 "variables": {
17849 "type": "array",
17850 "items": {
17851 "$ref": "#/definitions/Variable"
17852 },
-
E501
Line too long (92 > 79 characters)
17853 "description": "All (or a range) of variables for the given variable reference."
17854 }
17855 }
17856 __refs__ = set()
17857
17858 __slots__ = list(__props__.keys()) + ['kwargs']
17859
17860 def __init__(self, variables, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
17861 """
-
E501
Line too long (95 > 79 characters)
17862 :param array variables: All (or a range) of variables for the given variable reference.
17863 """
17864 self.variables = variables
17865 if update_ids_from_dap and self.variables:
17866 for o in self.variables:
17867 Variable.update_dict_ids_from_dap(o)
17868 self.kwargs = kwargs
17869
17870
17871 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
17872 variables = self.variables
17873 if variables and hasattr(variables[0], "to_dict"):
17874 variables = [x.to_dict() for x in variables]
17875 dct = {
-
E501
Line too long (133 > 79 characters)
17876 'variables': [Variable.update_dict_ids_to_dap(o) for o in variables] if (update_ids_to_dap and variables) else variables,
17877 }
17878 dct.update(self.kwargs)
17879 return dct
17880
17881
17882 @register
17883 class SetVariableResponseBody(BaseSchema):
17884 """
17885 "body" of SetVariableResponse
17886
17887 Note: automatically generated code. Do not edit manually.
17888 """
17889
17890 __props__ = {
17891 "value": {
17892 "type": "string",
17893 "description": "The new value of the variable."
17894 },
17895 "type": {
17896 "type": "string",
-
E501
Line too long (111 > 79 characters)
17897 "description": "The type of the new value. Typically shown in the UI when hovering over the value."
17898 },
17899 "variablesReference": {
17900 "type": "integer",
-
E501
Line too long (239 > 79 characters)
17901 "description": "If variablesReference is > 0, the new value is structured and its children can be retrieved by passing variablesReference to the VariablesRequest.\nThe value should be less than or equal to 2147483647 (2^31-1)."
17902 },
17903 "namedVariables": {
17904 "type": "integer",
-
E501
Line too long (240 > 79 characters)
17905 "description": "The number of named child variables.\nThe client can use this optional information to present the variables in a paged UI and fetch them in chunks.\nThe value should be less than or equal to 2147483647 (2^31-1)."
17906 },
17907 "indexedVariables": {
17908 "type": "integer",
-
E501
Line too long (242 > 79 characters)
17909 "description": "The number of indexed child variables.\nThe client can use this optional information to present the variables in a paged UI and fetch them in chunks.\nThe value should be less than or equal to 2147483647 (2^31-1)."
17910 }
17911 }
17912 __refs__ = set()
17913
17914 __slots__ = list(__props__.keys()) + ['kwargs']
17915
17916 def __init__(self, value, type=None, variablesReference=None, namedVariables=None, indexedVariables=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
17917 """
17918 :param string value: The new value of the variable.
-
E501
Line too long (110 > 79 characters)
17919 :param string type: The type of the new value. Typically shown in the UI when hovering over the value.
-
E501
Line too long (189 > 79 characters)
17920 :param integer variablesReference: If variablesReference is > 0, the new value is structured and its children can be retrieved by passing variablesReference to the VariablesRequest.
17921 The value should be less than or equal to 2147483647 (2^31-1).
17922 :param integer namedVariables: The number of named child variables.
-
E501
Line too long (117 > 79 characters)
17923 The client can use this optional information to present the variables in a paged UI and fetch them in chunks.
17924 The value should be less than or equal to 2147483647 (2^31-1).
17925 :param integer indexedVariables: The number of indexed child variables.
-
E501
Line too long (117 > 79 characters)
17926 The client can use this optional information to present the variables in a paged UI and fetch them in chunks.
17927 The value should be less than or equal to 2147483647 (2^31-1).
17928 """
17929 self.value = value
17930 self.type = type
17931 self.variablesReference = variablesReference
17932 self.namedVariables = namedVariables
17933 self.indexedVariables = indexedVariables
17934 if update_ids_from_dap:
-
E501
Line too long (90 > 79 characters)
17935 self.variablesReference = self._translate_id_from_dap(self.variablesReference)
17936 self.kwargs = kwargs
-
W293
Blank line contains whitespace
17937
-
W293
Blank line contains whitespace
17938
-
E303
Too many blank lines (2)
17939 @classmethod
17940 def update_dict_ids_from_dap(cls, dct):
17941 if 'variablesReference' in dct:
-
E501
Line too long (93 > 79 characters)
17942 dct['variablesReference'] = cls._translate_id_from_dap(dct['variablesReference'])
17943 return dct
17944
17945 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
17946 value = self.value
17947 type = self.type # noqa (assign to builtin)
17948 variablesReference = self.variablesReference
17949 namedVariables = self.namedVariables
17950 indexedVariables = self.indexedVariables
17951 if update_ids_to_dap:
17952 if variablesReference is not None:
-
E501
Line too long (82 > 79 characters)
17953 variablesReference = self._translate_id_to_dap(variablesReference)
17954 dct = {
17955 'value': value,
17956 }
17957 if type is not None:
17958 dct['type'] = type
17959 if variablesReference is not None:
17960 dct['variablesReference'] = variablesReference
17961 if namedVariables is not None:
17962 dct['namedVariables'] = namedVariables
17963 if indexedVariables is not None:
17964 dct['indexedVariables'] = indexedVariables
17965 dct.update(self.kwargs)
-
W293
Blank line contains whitespace
17967
17968 @classmethod
17969 def update_dict_ids_to_dap(cls, dct):
17970 if 'variablesReference' in dct:
-
E501
Line too long (91 > 79 characters)
17971 dct['variablesReference'] = cls._translate_id_to_dap(dct['variablesReference'])
17972 return dct
17973
17974
17975 @register
17976 class SourceResponseBody(BaseSchema):
17977 """
17978 "body" of SourceResponse
17979
17980 Note: automatically generated code. Do not edit manually.
17981 """
17982
17983 __props__ = {
17984 "content": {
17985 "type": "string",
17986 "description": "Content of the source reference."
17987 },
17988 "mimeType": {
17989 "type": "string",
17990 "description": "Optional content type (mime type) of the source."
17991 }
17992 }
17993 __refs__ = set()
17994
17995 __slots__ = list(__props__.keys()) + ['kwargs']
17996
17997 def __init__(self, content, mimeType=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
17998 """
17999 :param string content: Content of the source reference.
-
E501
Line too long (80 > 79 characters)
18000 :param string mimeType: Optional content type (mime type) of the source.
18001 """
18002 self.content = content
18003 self.mimeType = mimeType
18004 self.kwargs = kwargs
18005
18006
18007 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
18008 content = self.content
18009 mimeType = self.mimeType
18010 dct = {
18011 'content': content,
18012 }
18013 if mimeType is not None:
18014 dct['mimeType'] = mimeType
18015 dct.update(self.kwargs)
18016 return dct
18017
18018
18019 @register
18020 class ThreadsResponseBody(BaseSchema):
18021 """
18022 "body" of ThreadsResponse
18023
18024 Note: automatically generated code. Do not edit manually.
18025 """
18026
18027 __props__ = {
18028 "threads": {
18029 "type": "array",
18030 "items": {
18031 "$ref": "#/definitions/Thread"
18032 },
18033 "description": "All threads."
18034 }
18035 }
18036 __refs__ = set()
18037
18038 __slots__ = list(__props__.keys()) + ['kwargs']
18039
18040 def __init__(self, threads, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
18041 """
18042 :param array threads: All threads.
18043 """
18044 self.threads = threads
18045 if update_ids_from_dap and self.threads:
18046 for o in self.threads:
18047 Thread.update_dict_ids_from_dap(o)
18048 self.kwargs = kwargs
18049
18050
18051 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
18052 threads = self.threads
18053 if threads and hasattr(threads[0], "to_dict"):
18054 threads = [x.to_dict() for x in threads]
18055 dct = {
-
E501
Line too long (123 > 79 characters)
18056 'threads': [Thread.update_dict_ids_to_dap(o) for o in threads] if (update_ids_to_dap and threads) else threads,
18057 }
18058 dct.update(self.kwargs)
18059 return dct
18060
18061
18062 @register
18063 class ModulesResponseBody(BaseSchema):
18064 """
18065 "body" of ModulesResponse
18066
18067 Note: automatically generated code. Do not edit manually.
18068 """
18069
18070 __props__ = {
18071 "modules": {
18072 "type": "array",
18073 "items": {
18074 "$ref": "#/definitions/Module"
18075 },
18076 "description": "All modules or range of modules."
18077 },
18078 "totalModules": {
18079 "type": "integer",
18080 "description": "The total number of modules available."
18081 }
18082 }
18083 __refs__ = set()
18084
18085 __slots__ = list(__props__.keys()) + ['kwargs']
18086
18087 def __init__(self, modules, totalModules=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
18088 """
18089 :param array modules: All modules or range of modules.
18090 :param integer totalModules: The total number of modules available.
18091 """
18092 self.modules = modules
18093 if update_ids_from_dap and self.modules:
18094 for o in self.modules:
18095 Module.update_dict_ids_from_dap(o)
18096 self.totalModules = totalModules
18097 self.kwargs = kwargs
18098
18099
18100 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
18101 modules = self.modules
18102 if modules and hasattr(modules[0], "to_dict"):
18103 modules = [x.to_dict() for x in modules]
18104 totalModules = self.totalModules
18105 dct = {
-
E501
Line too long (123 > 79 characters)
18106 'modules': [Module.update_dict_ids_to_dap(o) for o in modules] if (update_ids_to_dap and modules) else modules,
18107 }
18108 if totalModules is not None:
18109 dct['totalModules'] = totalModules
18110 dct.update(self.kwargs)
18111 return dct
18112
18113
18114 @register
18115 class LoadedSourcesResponseBody(BaseSchema):
18116 """
18117 "body" of LoadedSourcesResponse
18118
18119 Note: automatically generated code. Do not edit manually.
18120 """
18121
18122 __props__ = {
18123 "sources": {
18124 "type": "array",
18125 "items": {
18126 "$ref": "#/definitions/Source"
18127 },
18128 "description": "Set of loaded sources."
18129 }
18130 }
18131 __refs__ = set()
18132
18133 __slots__ = list(__props__.keys()) + ['kwargs']
18134
18135 def __init__(self, sources, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
18136 """
18137 :param array sources: Set of loaded sources.
18138 """
18139 self.sources = sources
18140 if update_ids_from_dap and self.sources:
18141 for o in self.sources:
18142 Source.update_dict_ids_from_dap(o)
18143 self.kwargs = kwargs
18144
18145
18146 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
18147 sources = self.sources
18148 if sources and hasattr(sources[0], "to_dict"):
18149 sources = [x.to_dict() for x in sources]
18150 dct = {
-
E501
Line too long (123 > 79 characters)
18151 'sources': [Source.update_dict_ids_to_dap(o) for o in sources] if (update_ids_to_dap and sources) else sources,
18152 }
18153 dct.update(self.kwargs)
18154 return dct
18155
18156
18157 @register
18158 class EvaluateResponseBody(BaseSchema):
18159 """
18160 "body" of EvaluateResponse
18161
18162 Note: automatically generated code. Do not edit manually.
18163 """
18164
18165 __props__ = {
18166 "result": {
18167 "type": "string",
18168 "description": "The result of the evaluate request."
18169 },
18170 "type": {
18171 "type": "string",
-
E501
Line too long (240 > 79 characters)
18172 "description": "The optional type of the evaluate result.\nThis attribute should only be returned by a debug adapter if the client has passed the value true for the 'supportsVariableType' capability of the 'initialize' request."
18173 },
18174 "presentationHint": {
-
E501
Line too long (127 > 79 characters)
18175 "description": "Properties of a evaluate result that can be used to determine how to render the result in the UI.",
18176 "type": "VariablePresentationHint"
18177 },
18178 "variablesReference": {
18179 "type": "integer",
-
E501
Line too long (245 > 79 characters)
18180 "description": "If variablesReference is > 0, the evaluate result is structured and its children can be retrieved by passing variablesReference to the VariablesRequest.\nThe value should be less than or equal to 2147483647 (2^31-1)."
18181 },
18182 "namedVariables": {
18183 "type": "integer",
-
E501
Line too long (240 > 79 characters)
18184 "description": "The number of named child variables.\nThe client can use this optional information to present the variables in a paged UI and fetch them in chunks.\nThe value should be less than or equal to 2147483647 (2^31-1)."
18185 },
18186 "indexedVariables": {
18187 "type": "integer",
-
E501
Line too long (242 > 79 characters)
18188 "description": "The number of indexed child variables.\nThe client can use this optional information to present the variables in a paged UI and fetch them in chunks.\nThe value should be less than or equal to 2147483647 (2^31-1)."
18189 },
18190 "memoryReference": {
18191 "type": "string",
-
E501
Line too long (376 > 79 characters)
18192 "description": "Optional memory reference to a location appropriate for this result.\nFor pointer type eval results, this is generally a reference to the memory address contained in the pointer.\nThis attribute should be returned by a debug adapter if the client has passed the value true for the 'supportsMemoryReferences' capability of the 'initialize' request."
18193 }
18194 }
18195 __refs__ = set(['presentationHint'])
18196
18197 __slots__ = list(__props__.keys()) + ['kwargs']
18198
18199 def __init__(self, result, variablesReference, type=None, presentationHint=None, namedVariables=None, indexedVariables=None, memoryReference=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
18200 """
18201 :param string result: The result of the evaluate request.
-
E501
Line too long (195 > 79 characters)
18202 :param integer variablesReference: If variablesReference is > 0, the evaluate result is structured and its children can be retrieved by passing variablesReference to the VariablesRequest.
18203 The value should be less than or equal to 2147483647 (2^31-1).
18204 :param string type: The optional type of the evaluate result.
-
E501
Line too long (176 > 79 characters)
18205 This attribute should only be returned by a debug adapter if the client has passed the value true for the 'supportsVariableType' capability of the 'initialize' request.
-
E501
Line too long (155 > 79 characters)
18206 :param VariablePresentationHint presentationHint: Properties of a evaluate result that can be used to determine how to render the result in the UI.
18207 :param integer namedVariables: The number of named child variables.
-
E501
Line too long (117 > 79 characters)
18208 The client can use this optional information to present the variables in a paged UI and fetch them in chunks.
18209 The value should be less than or equal to 2147483647 (2^31-1).
18210 :param integer indexedVariables: The number of indexed child variables.
-
E501
Line too long (117 > 79 characters)
18211 The client can use this optional information to present the variables in a paged UI and fetch them in chunks.
18212 The value should be less than or equal to 2147483647 (2^31-1).
-
E501
Line too long (107 > 79 characters)
18213 :param string memoryReference: Optional memory reference to a location appropriate for this result.
-
E501
Line too long (116 > 79 characters)
18214 For pointer type eval results, this is generally a reference to the memory address contained in the pointer.
-
E501
Line too long (175 > 79 characters)
18215 This attribute should be returned by a debug adapter if the client has passed the value true for the 'supportsMemoryReferences' capability of the 'initialize' request.
18216 """
18217 self.result = result
18218 self.variablesReference = variablesReference
18219 self.type = type
18220 if presentationHint is None:
18221 self.presentationHint = VariablePresentationHint()
18222 else:
-
E501
Line too long (202 > 79 characters)
-
E222
Multiple spaces after operator
18223 self.presentationHint = VariablePresentationHint(update_ids_from_dap=update_ids_from_dap, **presentationHint) if presentationHint.__class__ != VariablePresentationHint else presentationHint
18224 self.namedVariables = namedVariables
18225 self.indexedVariables = indexedVariables
18226 self.memoryReference = memoryReference
18227 if update_ids_from_dap:
-
E501
Line too long (90 > 79 characters)
18228 self.variablesReference = self._translate_id_from_dap(self.variablesReference)
18229 self.kwargs = kwargs
-
W293
Blank line contains whitespace
18230
-
W293
Blank line contains whitespace
18231
-
E303
Too many blank lines (2)
18232 @classmethod
18233 def update_dict_ids_from_dap(cls, dct):
18234 if 'variablesReference' in dct:
-
E501
Line too long (93 > 79 characters)
18235 dct['variablesReference'] = cls._translate_id_from_dap(dct['variablesReference'])
18236 return dct
18237
18238 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
18239 result = self.result
18240 variablesReference = self.variablesReference
18241 type = self.type # noqa (assign to builtin)
18242 presentationHint = self.presentationHint
18243 namedVariables = self.namedVariables
18244 indexedVariables = self.indexedVariables
18245 memoryReference = self.memoryReference
18246 if update_ids_to_dap:
18247 if variablesReference is not None:
-
E501
Line too long (82 > 79 characters)
18248 variablesReference = self._translate_id_to_dap(variablesReference)
18249 dct = {
18250 'result': result,
18251 'variablesReference': variablesReference,
18252 }
18253 if type is not None:
18254 dct['type'] = type
18255 if presentationHint is not None:
-
E501
Line too long (99 > 79 characters)
18256 dct['presentationHint'] = presentationHint.to_dict(update_ids_to_dap=update_ids_to_dap)
18257 if namedVariables is not None:
18258 dct['namedVariables'] = namedVariables
18259 if indexedVariables is not None:
18260 dct['indexedVariables'] = indexedVariables
18261 if memoryReference is not None:
18262 dct['memoryReference'] = memoryReference
18263 dct.update(self.kwargs)
-
W293
Blank line contains whitespace
18265
18266 @classmethod
18267 def update_dict_ids_to_dap(cls, dct):
18268 if 'variablesReference' in dct:
-
E501
Line too long (91 > 79 characters)
18269 dct['variablesReference'] = cls._translate_id_to_dap(dct['variablesReference'])
18270 return dct
18271
18272
18273 @register
18274 class SetExpressionResponseBody(BaseSchema):
18275 """
18276 "body" of SetExpressionResponse
18277
18278 Note: automatically generated code. Do not edit manually.
18279 """
18280
18281 __props__ = {
18282 "value": {
18283 "type": "string",
18284 "description": "The new value of the expression."
18285 },
18286 "type": {
18287 "type": "string",
-
E501
Line too long (230 > 79 characters)
18288 "description": "The optional type of the value.\nThis attribute should only be returned by a debug adapter if the client has passed the value true for the 'supportsVariableType' capability of the 'initialize' request."
18289 },
18290 "presentationHint": {
-
E501
Line too long (117 > 79 characters)
18291 "description": "Properties of a value that can be used to determine how to render the result in the UI.",
18292 "type": "VariablePresentationHint"
18293 },
18294 "variablesReference": {
18295 "type": "integer",
-
E501
Line too long (235 > 79 characters)
18296 "description": "If variablesReference is > 0, the value is structured and its children can be retrieved by passing variablesReference to the VariablesRequest.\nThe value should be less than or equal to 2147483647 (2^31-1)."
18297 },
18298 "namedVariables": {
18299 "type": "integer",
-
E501
Line too long (240 > 79 characters)
18300 "description": "The number of named child variables.\nThe client can use this optional information to present the variables in a paged UI and fetch them in chunks.\nThe value should be less than or equal to 2147483647 (2^31-1)."
18301 },
18302 "indexedVariables": {
18303 "type": "integer",
-
E501
Line too long (242 > 79 characters)
18304 "description": "The number of indexed child variables.\nThe client can use this optional information to present the variables in a paged UI and fetch them in chunks.\nThe value should be less than or equal to 2147483647 (2^31-1)."
18305 }
18306 }
18307 __refs__ = set(['presentationHint'])
18308
18309 __slots__ = list(__props__.keys()) + ['kwargs']
18310
18311 def __init__(self, value, type=None, presentationHint=None, variablesReference=None, namedVariables=None, indexedVariables=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
18312 """
18313 :param string value: The new value of the expression.
18314 :param string type: The optional type of the value.
-
E501
Line too long (176 > 79 characters)
18315 This attribute should only be returned by a debug adapter if the client has passed the value true for the 'supportsVariableType' capability of the 'initialize' request.
-
E501
Line too long (145 > 79 characters)
18316 :param VariablePresentationHint presentationHint: Properties of a value that can be used to determine how to render the result in the UI.
-
E501
Line too long (185 > 79 characters)
18317 :param integer variablesReference: If variablesReference is > 0, the value is structured and its children can be retrieved by passing variablesReference to the VariablesRequest.
18318 The value should be less than or equal to 2147483647 (2^31-1).
18319 :param integer namedVariables: The number of named child variables.
-
E501
Line too long (117 > 79 characters)
18320 The client can use this optional information to present the variables in a paged UI and fetch them in chunks.
18321 The value should be less than or equal to 2147483647 (2^31-1).
18322 :param integer indexedVariables: The number of indexed child variables.
-
E501
Line too long (117 > 79 characters)
18323 The client can use this optional information to present the variables in a paged UI and fetch them in chunks.
18324 The value should be less than or equal to 2147483647 (2^31-1).
18325 """
18326 self.value = value
18327 self.type = type
18328 if presentationHint is None:
18329 self.presentationHint = VariablePresentationHint()
18330 else:
-
E501
Line too long (202 > 79 characters)
-
E222
Multiple spaces after operator
18331 self.presentationHint = VariablePresentationHint(update_ids_from_dap=update_ids_from_dap, **presentationHint) if presentationHint.__class__ != VariablePresentationHint else presentationHint
18332 self.variablesReference = variablesReference
18333 self.namedVariables = namedVariables
18334 self.indexedVariables = indexedVariables
18335 if update_ids_from_dap:
-
E501
Line too long (90 > 79 characters)
18336 self.variablesReference = self._translate_id_from_dap(self.variablesReference)
18337 self.kwargs = kwargs
-
W293
Blank line contains whitespace
18338
-
W293
Blank line contains whitespace
18339
-
E303
Too many blank lines (2)
18340 @classmethod
18341 def update_dict_ids_from_dap(cls, dct):
18342 if 'variablesReference' in dct:
-
E501
Line too long (93 > 79 characters)
18343 dct['variablesReference'] = cls._translate_id_from_dap(dct['variablesReference'])
18344 return dct
18345
18346 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
18347 value = self.value
18348 type = self.type # noqa (assign to builtin)
18349 presentationHint = self.presentationHint
18350 variablesReference = self.variablesReference
18351 namedVariables = self.namedVariables
18352 indexedVariables = self.indexedVariables
18353 if update_ids_to_dap:
18354 if variablesReference is not None:
-
E501
Line too long (82 > 79 characters)
18355 variablesReference = self._translate_id_to_dap(variablesReference)
18356 dct = {
18357 'value': value,
18358 }
18359 if type is not None:
18360 dct['type'] = type
18361 if presentationHint is not None:
-
E501
Line too long (99 > 79 characters)
18362 dct['presentationHint'] = presentationHint.to_dict(update_ids_to_dap=update_ids_to_dap)
18363 if variablesReference is not None:
18364 dct['variablesReference'] = variablesReference
18365 if namedVariables is not None:
18366 dct['namedVariables'] = namedVariables
18367 if indexedVariables is not None:
18368 dct['indexedVariables'] = indexedVariables
18369 dct.update(self.kwargs)
-
W293
Blank line contains whitespace
18371
18372 @classmethod
18373 def update_dict_ids_to_dap(cls, dct):
18374 if 'variablesReference' in dct:
-
E501
Line too long (91 > 79 characters)
18375 dct['variablesReference'] = cls._translate_id_to_dap(dct['variablesReference'])
18376 return dct
18377
18378
18379 @register
18380 class StepInTargetsResponseBody(BaseSchema):
18381 """
18382 "body" of StepInTargetsResponse
18383
18384 Note: automatically generated code. Do not edit manually.
18385 """
18386
18387 __props__ = {
18388 "targets": {
18389 "type": "array",
18390 "items": {
18391 "$ref": "#/definitions/StepInTarget"
18392 },
-
E501
Line too long (90 > 79 characters)
18393 "description": "The possible stepIn targets of the specified source location."
18394 }
18395 }
18396 __refs__ = set()
18397
18398 __slots__ = list(__props__.keys()) + ['kwargs']
18399
18400 def __init__(self, targets, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
18401 """
-
E501
Line too long (91 > 79 characters)
18402 :param array targets: The possible stepIn targets of the specified source location.
18403 """
18404 self.targets = targets
18405 if update_ids_from_dap and self.targets:
18406 for o in self.targets:
18407 StepInTarget.update_dict_ids_from_dap(o)
18408 self.kwargs = kwargs
18409
18410
18411 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
18412 targets = self.targets
18413 if targets and hasattr(targets[0], "to_dict"):
18414 targets = [x.to_dict() for x in targets]
18415 dct = {
-
E501
Line too long (129 > 79 characters)
18416 'targets': [StepInTarget.update_dict_ids_to_dap(o) for o in targets] if (update_ids_to_dap and targets) else targets,
18417 }
18418 dct.update(self.kwargs)
18419 return dct
18420
18421
18422 @register
18423 class GotoTargetsResponseBody(BaseSchema):
18424 """
18425 "body" of GotoTargetsResponse
18426
18427 Note: automatically generated code. Do not edit manually.
18428 """
18429
18430 __props__ = {
18431 "targets": {
18432 "type": "array",
18433 "items": {
18434 "$ref": "#/definitions/GotoTarget"
18435 },
-
E501
Line too long (81 > 79 characters)
18436 "description": "The possible goto targets of the specified location."
18437 }
18438 }
18439 __refs__ = set()
18440
18441 __slots__ = list(__props__.keys()) + ['kwargs']
18442
18443 def __init__(self, targets, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
18444 """
-
E501
Line too long (82 > 79 characters)
18445 :param array targets: The possible goto targets of the specified location.
18446 """
18447 self.targets = targets
18448 if update_ids_from_dap and self.targets:
18449 for o in self.targets:
18450 GotoTarget.update_dict_ids_from_dap(o)
18451 self.kwargs = kwargs
18452
18453
18454 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
18455 targets = self.targets
18456 if targets and hasattr(targets[0], "to_dict"):
18457 targets = [x.to_dict() for x in targets]
18458 dct = {
-
E501
Line too long (127 > 79 characters)
18459 'targets': [GotoTarget.update_dict_ids_to_dap(o) for o in targets] if (update_ids_to_dap and targets) else targets,
18460 }
18461 dct.update(self.kwargs)
18462 return dct
18463
18464
18465 @register
18466 class CompletionsResponseBody(BaseSchema):
18467 """
18468 "body" of CompletionsResponse
18469
18470 Note: automatically generated code. Do not edit manually.
18471 """
18472
18473 __props__ = {
18474 "targets": {
18475 "type": "array",
18476 "items": {
18477 "$ref": "#/definitions/CompletionItem"
18478 },
18479 "description": "The possible completions for ."
18480 }
18481 }
18482 __refs__ = set()
18483
18484 __slots__ = list(__props__.keys()) + ['kwargs']
18485
18486 def __init__(self, targets, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
18487 """
18488 :param array targets: The possible completions for .
18489 """
18490 self.targets = targets
18491 if update_ids_from_dap and self.targets:
18492 for o in self.targets:
18493 CompletionItem.update_dict_ids_from_dap(o)
18494 self.kwargs = kwargs
18495
18496
18497 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
18498 targets = self.targets
18499 if targets and hasattr(targets[0], "to_dict"):
18500 targets = [x.to_dict() for x in targets]
18501 dct = {
-
E501
Line too long (131 > 79 characters)
18502 'targets': [CompletionItem.update_dict_ids_to_dap(o) for o in targets] if (update_ids_to_dap and targets) else targets,
18503 }
18504 dct.update(self.kwargs)
18505 return dct
18506
18507
18508 @register
18509 class ExceptionInfoResponseBody(BaseSchema):
18510 """
18511 "body" of ExceptionInfoResponse
18512
18513 Note: automatically generated code. Do not edit manually.
18514 """
18515
18516 __props__ = {
18517 "exceptionId": {
18518 "type": "string",
18519 "description": "ID of the exception that was thrown."
18520 },
18521 "description": {
18522 "type": "string",
-
E501
Line too long (94 > 79 characters)
18523 "description": "Descriptive text for the exception provided by the debug adapter."
18524 },
18525 "breakMode": {
-
E501
Line too long (87 > 79 characters)
18526 "description": "Mode that caused the exception notification to be raised.",
18527 "type": "ExceptionBreakMode"
18528 },
18529 "details": {
18530 "description": "Detailed information about the exception.",
18531 "type": "ExceptionDetails"
18532 }
18533 }
18534 __refs__ = set(['breakMode', 'details'])
18535
18536 __slots__ = list(__props__.keys()) + ['kwargs']
18537
18538 def __init__(self, exceptionId, breakMode, description=None, details=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
18539 """
18540 :param string exceptionId: ID of the exception that was thrown.
-
E501
Line too long (102 > 79 characters)
18541 :param ExceptionBreakMode breakMode: Mode that caused the exception notification to be raised.
-
E501
Line too long (100 > 79 characters)
18542 :param string description: Descriptive text for the exception provided by the debug adapter.
-
E501
Line too long (82 > 79 characters)
18543 :param ExceptionDetails details: Detailed information about the exception.
18544 """
18545 self.exceptionId = exceptionId
18546 if breakMode is not None:
18547 assert breakMode in ExceptionBreakMode.VALID_VALUES
18548 self.breakMode = breakMode
18549 self.description = description
18550 if details is None:
18551 self.details = ExceptionDetails()
18552 else:
-
E501
Line too long (150 > 79 characters)
-
E222
Multiple spaces after operator
18553 self.details = ExceptionDetails(update_ids_from_dap=update_ids_from_dap, **details) if details.__class__ != ExceptionDetails else details
18554 self.kwargs = kwargs
18555
18556
18557 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
18558 exceptionId = self.exceptionId
18559 breakMode = self.breakMode
18560 description = self.description
18561 details = self.details
18562 dct = {
18563 'exceptionId': exceptionId,
18564 'breakMode': breakMode,
18565 }
18566 if description is not None:
18567 dct['description'] = description
18568 if details is not None:
-
E501
Line too long (81 > 79 characters)
18569 dct['details'] = details.to_dict(update_ids_to_dap=update_ids_to_dap)
18570 dct.update(self.kwargs)
18571 return dct
18572
18573
18574 @register
18575 class ReadMemoryResponseBody(BaseSchema):
18576 """
18577 "body" of ReadMemoryResponse
18578
18579 Note: automatically generated code. Do not edit manually.
18580 """
18581
18582 __props__ = {
18583 "address": {
18584 "type": "string",
-
E501
Line too long (156 > 79 characters)
18585 "description": "The address of the first byte of data returned.\nTreated as a hex value if prefixed with '0x', or as a decimal value otherwise."
18586 },
18587 "unreadableBytes": {
18588 "type": "integer",
-
E501
Line too long (237 > 79 characters)
18589 "description": "The number of unreadable bytes encountered after the last successfully read byte.\nThis can be used to determine the number of bytes that must be skipped before a subsequent 'readMemory' request will succeed."
18590 },
18591 "data": {
18592 "type": "string",
18593 "description": "The bytes read from memory, encoded using base64."
18594 }
18595 }
18596 __refs__ = set()
18597
18598 __slots__ = list(__props__.keys()) + ['kwargs']
18599
18600 def __init__(self, address, unreadableBytes=None, data=None, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
18601 """
18602 :param string address: The address of the first byte of data returned.
-
E501
Line too long (86 > 79 characters)
18603 Treated as a hex value if prefixed with '0x', or as a decimal value otherwise.
-
E501
Line too long (121 > 79 characters)
18604 :param integer unreadableBytes: The number of unreadable bytes encountered after the last successfully read byte.
-
E501
Line too long (133 > 79 characters)
18605 This can be used to determine the number of bytes that must be skipped before a subsequent 'readMemory' request will succeed.
18606 :param string data: The bytes read from memory, encoded using base64.
18607 """
18608 self.address = address
18609 self.unreadableBytes = unreadableBytes
18610 self.data = data
18611 self.kwargs = kwargs
18612
18613
18614 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
18615 address = self.address
18616 unreadableBytes = self.unreadableBytes
18617 data = self.data
18618 dct = {
18619 'address': address,
18620 }
18621 if unreadableBytes is not None:
18622 dct['unreadableBytes'] = unreadableBytes
18623 if data is not None:
18624 dct['data'] = data
18625 dct.update(self.kwargs)
18626 return dct
18627
18628
18629 @register
18630 class DisassembleResponseBody(BaseSchema):
18631 """
18632 "body" of DisassembleResponse
18633
18634 Note: automatically generated code. Do not edit manually.
18635 """
18636
18637 __props__ = {
18638 "instructions": {
18639 "type": "array",
18640 "items": {
18641 "$ref": "#/definitions/DisassembledInstruction"
18642 },
18643 "description": "The list of disassembled instructions."
18644 }
18645 }
18646 __refs__ = set()
18647
18648 __slots__ = list(__props__.keys()) + ['kwargs']
18649
18650 def __init__(self, instructions, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
18651 """
18652 :param array instructions: The list of disassembled instructions.
18653 """
18654 self.instructions = instructions
18655 if update_ids_from_dap and self.instructions:
18656 for o in self.instructions:
18657 DisassembledInstruction.update_dict_ids_from_dap(o)
18658 self.kwargs = kwargs
18659
18660
18661 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
18662 instructions = self.instructions
18663 if instructions and hasattr(instructions[0], "to_dict"):
18664 instructions = [x.to_dict() for x in instructions]
18665 dct = {
-
E501
Line too long (160 > 79 characters)
18666 'instructions': [DisassembledInstruction.update_dict_ids_to_dap(o) for o in instructions] if (update_ids_to_dap and instructions) else instructions,
18667 }
18668 dct.update(self.kwargs)
18669 return dct
18670
18671
18672 @register
18673 class MessageVariables(BaseSchema):
18674 """
18675 "variables" of Message
18676
18677 Note: automatically generated code. Do not edit manually.
18678 """
18679
18680 __props__ = {}
18681 __refs__ = set()
18682
18683 __slots__ = list(__props__.keys()) + ['kwargs']
18684
18685 def __init__(self, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
18686 """
-
W293
Blank line contains whitespace
18687
18688 """
-
W293
Blank line contains whitespace
18689
18690 self.kwargs = kwargs
18691
18692
18693 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
18694 dct = {
18695 }
18696 dct.update(self.kwargs)
18697 return dct
18698
18699
18700 @register
18701 class PydevdSystemInfoResponseBody(BaseSchema):
18702 """
18703 "body" of PydevdSystemInfoResponse
18704
18705 Note: automatically generated code. Do not edit manually.
18706 """
18707
18708 __props__ = {
18709 "python": {
-
E501
Line too long (98 > 79 characters)
18710 "description": "Information about the python version running in the current process.",
18711 "type": "PydevdPythonInfo"
18712 },
18713 "platform": {
-
E501
Line too long (101 > 79 characters)
18714 "description": "Information about the plarforn on which the current process is running.",
18715 "type": "PydevdPlatformInfo"
18716 },
18717 "process": {
18718 "description": "Information about the current process.",
18719 "type": "PydevdProcessInfo"
18720 },
18721 "pydevd": {
18722 "description": "Information about pydevd.",
18723 "type": "PydevdInfo"
18724 }
18725 }
18726 __refs__ = set(['python', 'platform', 'process', 'pydevd'])
18727
18728 __slots__ = list(__props__.keys()) + ['kwargs']
18729
18730 def __init__(self, python, platform, process, pydevd, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
18731 """
-
E501
Line too long (108 > 79 characters)
18732 :param PydevdPythonInfo python: Information about the python version running in the current process.
-
E501
Line too long (115 > 79 characters)
18733 :param PydevdPlatformInfo platform: Information about the plarforn on which the current process is running.
-
E501
Line too long (80 > 79 characters)
18734 :param PydevdProcessInfo process: Information about the current process.
18735 :param PydevdInfo pydevd: Information about pydevd.
18736 """
18737 if python is None:
18738 self.python = PydevdPythonInfo()
18739 else:
-
E501
Line too long (146 > 79 characters)
-
E222
Multiple spaces after operator
18740 self.python = PydevdPythonInfo(update_ids_from_dap=update_ids_from_dap, **python) if python.__class__ != PydevdPythonInfo else python
18741 if platform is None:
18742 self.platform = PydevdPlatformInfo()
18743 else:
-
E501
Line too long (158 > 79 characters)
-
E222
Multiple spaces after operator
18744 self.platform = PydevdPlatformInfo(update_ids_from_dap=update_ids_from_dap, **platform) if platform.__class__ != PydevdPlatformInfo else platform
18745 if process is None:
18746 self.process = PydevdProcessInfo()
18747 else:
-
E501
Line too long (152 > 79 characters)
-
E222
Multiple spaces after operator
18748 self.process = PydevdProcessInfo(update_ids_from_dap=update_ids_from_dap, **process) if process.__class__ != PydevdProcessInfo else process
18749 if pydevd is None:
18750 self.pydevd = PydevdInfo()
18751 else:
-
E501
Line too long (134 > 79 characters)
-
E222
Multiple spaces after operator
18752 self.pydevd = PydevdInfo(update_ids_from_dap=update_ids_from_dap, **pydevd) if pydevd.__class__ != PydevdInfo else pydevd
18753 self.kwargs = kwargs
18754
18755
18756 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
18757 python = self.python
18758 platform = self.platform
18759 process = self.process
18760 pydevd = self.pydevd
18761 dct = {
18762 'python': python.to_dict(update_ids_to_dap=update_ids_to_dap),
18763 'platform': platform.to_dict(update_ids_to_dap=update_ids_to_dap),
18764 'process': process.to_dict(update_ids_to_dap=update_ids_to_dap),
18765 'pydevd': pydevd.to_dict(update_ids_to_dap=update_ids_to_dap),
18766 }
18767 dct.update(self.kwargs)
18768 return dct
18769
18770
18771 @register
18772 class PydevdAuthorizeResponseBody(BaseSchema):
18773 """
18774 "body" of PydevdAuthorizeResponse
18775
18776 Note: automatically generated code. Do not edit manually.
18777 """
18778
18779 __props__ = {
18780 "clientAccessToken": {
18781 "type": "string",
-
E501
Line too long (91 > 79 characters)
18782 "description": "The access token to access the client (i.e.: usually the IDE)."
18783 }
18784 }
18785 __refs__ = set()
18786
18787 __slots__ = list(__props__.keys()) + ['kwargs']
18788
18789 def __init__(self, clientAccessToken, update_ids_from_dap=False, **kwargs): # noqa (update_ids_from_dap may be unused)
18790 """
-
E501
Line too long (103 > 79 characters)
18791 :param string clientAccessToken: The access token to access the client (i.e.: usually the IDE).
18792 """
18793 self.clientAccessToken = clientAccessToken
18794 self.kwargs = kwargs
18795
18796
18797 def to_dict(self, update_ids_to_dap=False): # noqa (update_ids_to_dap may be unused)
18798 clientAccessToken = self.clientAccessToken
18799 dct = {
18800 'clientAccessToken': clientAccessToken,
18801 }
18802 dct.update(self.kwargs)
18803 return dct